X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/eac749dbf27b1dfe829e3d2169d4c43324ee943e..5bb23f6f5f8fed81f1166a15344e44afa7fbb480:/app/views/application/_settings_menu.html.erb?ds=sidebyside
diff --git a/app/views/application/_settings_menu.html.erb b/app/views/application/_settings_menu.html.erb
index 03d8c74c2..14f1c2927 100644
--- a/app/views/application/_settings_menu.html.erb
+++ b/app/views/application/_settings_menu.html.erb
@@ -3,10 +3,7 @@
<% content_for :heading do %>
-
- <%= link_to t(".account_settings"), user_account_path(current_user), :class => "nav-link #{'active' if controller_name == 'users'}" %>
-
- -
- <%= link_to t(".oauth1_settings"), oauth_clients_path(current_user), :class => "nav-link #{'active' if controller_name == 'oauth_clients'}" %>
+ <%= link_to t(".account_settings"), edit_account_path, :class => "nav-link #{'active' if %w[accounts deletions].include?(controller_name)}" %>
-
<%= link_to t(".oauth2_applications"), oauth_applications_path, :class => "nav-link #{'active' if controller_name == 'oauth2_applications'}" %>
@@ -14,5 +11,10 @@
-
<%= link_to t(".oauth2_authorizations"), oauth_authorized_applications_path, :class => "nav-link #{'active' if controller_name == 'oauth2_authorized_applications'}" %>
+ <% if current_user.muted_users.any? %>
+ -
+ <%= link_to t(".muted_users"), user_mutes_path, :class => "nav-link #{'active' if controller_name == 'user_mutes'}" %>
+
+ <% end %>
<% end %>