]> git.openstreetmap.org Git - rails.git/blob - app/views/application/_settings_menu.html.erb
Restore previous position of signup background
[rails.git] / app / views / application / _settings_menu.html.erb
1 <% content_for :heading_class, "pb-0" %>
2
3 <% content_for :heading do %>
4   <ul class="nav nav-tabs flex-column flex-sm-row">
5     <li class="nav-item">
6       <%= link_to t(".account_settings"), edit_account_path, :class => "nav-link #{'active' if %w[accounts deletions].include?(controller_name)}" %>
7     </li>
8     <li class="nav-item">
9       <%= link_to t(".oauth1_settings"), oauth_clients_path(current_user), :class => "nav-link #{'active' if controller_name == 'oauth_clients'}" %>
10     </li>
11     <li class="nav-item">
12       <%= link_to t(".oauth2_applications"), oauth_applications_path, :class => "nav-link #{'active' if controller_name == 'oauth2_applications'}" %>
13     </li>
14     <li class="nav-item">
15       <%= link_to t(".oauth2_authorizations"), oauth_authorized_applications_path, :class => "nav-link #{'active' if controller_name == 'oauth2_authorized_applications'}" %>
16     </li>
17     <% if current_user.muted_users.any? %>
18       <li class="nav-item">
19         <%= link_to t(".muted_users"), user_mutes_path, :class => "nav-link #{'active' if controller_name == 'user_mutes'}" %>
20       </li>
21     <% end %>
22   </ul>
23 <% end %>