]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/show.html.erb
Use correct link for users with no location
[rails.git] / app / views / users / show.html.erb
index ac6938af76066e1fc7a11fed8eb73a28895571dc..1dd84edeaf4a581dd8a433a7616bab57675d2ce9 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(".set_location_html", :edit_profile_url => edit_profile_path) %></p>
         </div>
       <% else %>
         <% content_for :head do %>