X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6b8beb7d1a0b5dfdf4f7c8409ee814f9cf870cfb..49a45b1c52b9cc8bbfcd6f4e6c93adac912d95a1:/app/views/user/view.html.erb diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index 5de2beff7..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 %>