X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/217f61663048cb3040663d607364ab10937dbe9a..2731e7244ac554c4a17f69347851f8f829cd1caa:/app/views/user_blocks/blocks_on.html.erb diff --git a/app/views/user_blocks/blocks_on.html.erb b/app/views/user_blocks/blocks_on.html.erb index cfdc9abf1..e82711a4e 100644 --- a/app/views/user_blocks/blocks_on.html.erb +++ b/app/views/user_blocks/blocks_on.html.erb @@ -1,9 +1,9 @@ -<% @title = t(".title", :name => h(@user.display_name)) %> +<% @title = t(".title", :name => @user.display_name) %> <% content_for :heading do %>

<%= t(".heading_html", :name => link_to(@user.display_name, user_path(@user))) %>

<% end %> <% unless @user_blocks.empty? %> <%= render :partial => "blocks", :locals => { :show_revoke_link => can?(:revoke, UserBlock), :show_user_name => false, :show_creator_name => true } %> <% else %> -

<%= t ".empty", :name => h(@user.display_name) %>

+

<%= t ".empty", :name => @user.display_name %>

<% end %>