]> git.openstreetmap.org Git - rails.git/blob - app/views/application/_settings_menu.html.erb
Don't send comment text when reopening a note
[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(".oauth2_applications"), oauth_applications_path, :class => "nav-link #{'active' if controller_name == 'oauth2_applications'}" %>
10     </li>
11     <li class="nav-item">
12       <%= link_to t(".oauth2_authorizations"), oauth_authorized_applications_path, :class => "nav-link #{'active' if controller_name == 'oauth2_authorized_applications'}" %>
13     </li>
14     <% if current_user.muted_users.any? %>
15       <li class="nav-item">
16         <%= link_to t(".muted_users"), user_mutes_path, :class => "nav-link #{'active' if controller_name == 'user_mutes'}" %>
17       </li>
18     <% end %>
19   </ul>
20 <% end %>