X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8ecbe9b07d60828c4d20fbf329696c12bd23b917..1f1a20e5399d957c8f45a36d5d880aac84a95d3f:/app/views/layouts/_header.html.erb?ds=sidebyside diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index aa5249381..69e323a99 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -85,10 +85,12 @@ <%= number_with_delimiter(current_user.new_messages.size) %> <% end %> <%= link_to t("users.show.my profile"), current_user, :class => "dropdown-item" %> - <%= link_to t("users.show.my settings"), edit_account_path, :class => "dropdown-item" %> + <%= link_to t("users.show.my_account"), account_path, :class => "dropdown-item" %> <%= link_to t("users.show.my_preferences"), preferences_path, :class => "dropdown-item" %> - <%= yield :greeting %> + <% if current_user.home_location? %> + <%= link_to t("layouts.home"), account_home_path, :class => "dropdown-item" %> + <% end %> <%= link_to t("layouts.logout"), logout_path(:referer => request.fullpath), :method => "post", :class => "geolink dropdown-item" %>