X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b470e01f840d1b954326f8f863e185ebe7f9b9f2..eac749dbf27b1dfe829e3d2169d4c43324ee943e:/app/views/users/show.html.erb diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 302ec5bd3..caa7730cb 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -4,7 +4,7 @@

<%= @user.display_name %> <%= role_icons(@user) %>

<% if current_user and @user.id == current_user.id %> - +
<% if current_user and current_user.administrator? -%> @@ -185,7 +191,7 @@
<% if @user.home_lat.nil? or @user.home_lon.nil? %>
-

<%= t(".if_set_location_html", :settings_link => (link_to t(".settings_link_text"), :controller => "users", :action => "account", :display_name => current_user.display_name)) %>

+

<%= t(".no_home_location_html", :edit_profile_link => link_to(t(".edit_your_profile"), edit_profile_path)) %>

<% else %> <% content_for :head do %>