]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/show.html.erb
Avoid using raw html in translations for links.
[rails.git] / app / views / users / show.html.erb
index ac6938af76066e1fc7a11fed8eb73a28895571dc..be25df1933d45cf28d026ad489479fa5931ddc10 100644 (file)
     <div class="col-md order-md-last">
       <% if @user.home_lat.nil? or @user.home_lon.nil? %>
         <div id="map" class="content_map">
-          <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>
+          <p id="no_home_location"><%= t(".no_home_location_html", :edit_profile_link => link_to(t(".edit_your_profile"), edit_profile_path)) %></p>
         </div>
       <% else %>
         <% content_for :head do %>