X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/36b0a3d1355fcbac0ab4a121e09a899a7d21a748..c07bb0745d1ebc58637f8b46f8615dca03fada2d:/app/views/layouts/_header.html.erb
diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb
index fe5bf23c5..bd1c10c39 100644
--- a/app/views/layouts/_header.html.erb
+++ b/app/views/layouts/_header.html.erb
@@ -50,6 +50,9 @@
<%= link_to t("layouts.user_diaries"), diary_entries_path, :class => "nav-link" %>
+
+ <%= link_to t("layouts.communities"), communities_path, :class => "nav-link" %>
+
<%= link_to t("layouts.copyright"), copyright_path, :class => "nav-link" %>
@@ -72,6 +75,7 @@
<% end %>
<%= link_to t("layouts.gps_traces"), traces_path, :class => "dropdown-item" %>
<%= link_to t("layouts.user_diaries"), diary_entries_path, :class => "dropdown-item" %>
+ <%= link_to t("layouts.communities"), communities_path, :class => "dropdown-item" %>
<%= link_to t("layouts.copyright"), copyright_path, :class => "dropdown-item" %>
<%= link_to t("layouts.help"), help_path, :class => "dropdown-item" %>
<%= link_to t("layouts.about"), about_path, :class => "dropdown-item" %>
@@ -95,7 +99,8 @@
<%= number_with_delimiter(current_user.new_messages.size) %>
<% end %>
<%= link_to t("users.show.my profile"), user_path(current_user), :class => "dropdown-item" %>
- <%= link_to t("users.show.my settings"), { :controller => "users", :action => "account", :display_name => current_user.display_name }, { :class => "dropdown-item" } %>
+ <%= link_to t("users.show.my settings"), user_account_path(current_user), :class => "dropdown-item" %>
+ <%= link_to t("users.show.my_preferences"), preferences_path, :class => "dropdown-item" %>
<%= yield :greeting %>
<%= link_to t("layouts.logout"), logout_path(:referer => request.fullpath), :method => "post", :class => "geolink dropdown-item" %>