]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/show.html.erb
Merge remote-tracking branch 'upstream/pull/2596'
[rails.git] / app / views / users / show.html.erb
index 7e8b451851bf48302f3df1a56c19c53cd1ff3ae7..0112261099f7502afec57c82b791bbd15ab0adce 100644 (file)
   <% if current_user and @user.id == current_user.id %>
     <% if @user.home_lat.nil? or @user.home_lon.nil? %>
       <div id="map" class="content_map">
-        <p id="no_home_location"><%= raw(t(".if set location", :settings_link => (link_to t(".settings_link_text"), :controller => "users", :action => "account", :display_name => current_user.display_name))) %></p>
+        <p id="no_home_location"><%= t(".if_set_location_html", :settings_link => (link_to t(".settings_link_text"), :controller => "users", :action => "account", :display_name => current_user.display_name)) %></p>
       </div>
     <% else %>
       <% content_for :head do %>