From: Tom Hughes Date: Sat, 15 Feb 2025 17:36:29 +0000 (+0000) Subject: Merge remote-tracking branch 'upstream/pull/5681' X-Git-Tag: live~140 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/4635fcf04a2d56160519cc5c20c578ec30d6dbcd Merge remote-tracking branch 'upstream/pull/5681' --- 4635fcf04a2d56160519cc5c20c578ec30d6dbcd diff --cc app/views/layouts/_header.html.erb index 1f5856908,2e5af50b4..f09812972 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@@ -85,12 -101,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"), edit_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" %>