]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changesets/history.html.erb
Create a second title_user translation, to avoid using html_safe
[rails.git] / app / views / changesets / history.html.erb
index cb80787a7a6fa36a3f290734c05b562a5551ec79..339d60e98845f96f3b0b3bb61c7df090de056d6d 100644 (file)
@@ -6,13 +6,13 @@
 
 <% set_title(changeset_index_title(params, current_user))
    @heading = if params[:display_name]
-                t("changesets.index.title_user", :user => link_to(params[:display_name], user_path(:display_name => params[:display_name]))).html_safe
+                t("changesets.index.title_user_link_html", :user_link => link_to(params[:display_name], user_path(:display_name => params[:display_name])))
               else
                 @title
               end %>
 
 <%= render "sidebar_header", :title => @heading %>
 
-<div class="changesets">
+<div class="changesets mx-n3">
   <%= image_tag "searching.gif", :class => "loader" %>
 </div>