]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/view.html.erb
Fixup some string escaping issues in the data browser
[rails.git] / app / views / user / view.html.erb
index 5de2beff7c30a1c0fb92a36aa349922a13cb655c..4cb2b9e5ae5466ba035ded6291b434b5d49f8203 100644 (file)
@@ -92,7 +92,7 @@
 <% if @user and @this_user.id == @user.id %>
   <div id="map" class="user_map">
     <% if @this_user.home_lat.nil? or @this_user.home_lon.nil? %>
-      <p><%= 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) %></p>
+      <p id="no_home_location"><%= 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)) %></p>
     <% else %>
       <%= render :partial => 'map', :locals => { :setting_location => false, :show_other_users => true } %>
     <% end %>