X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/866f25bc45b01776f6319fda7f6b91da43710ec0..49a45b1c52b9cc8bbfcd6f4e6c93adac912d95a1:/app/views/user/view.html.erb?ds=inline diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index 834e8571b..4cb2b9e5a 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -92,7 +92,7 @@ <% if @user and @this_user.id == @user.id %>
<% if @this_user.home_lat.nil? or @this_user.home_lon.nil? %> -

<%= t 'user.view.if set location', :settings_link => (link_to t('user.view.settings_link_text'), :controller => 'user', :action => 'account', :display_name => @user.display_name) %>

+

<%= raw(t 'user.view.if set location', :settings_link => (link_to t('user.view.settings_link_text'), :controller => 'user', :action => 'account', :display_name => @user.display_name)) %>

<% else %> <%= render :partial => 'map', :locals => { :setting_location => false, :show_other_users => true } %> <% end %>