X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/928465764e52407884b35e31a08bf9241e651269..8da80ff471f7d04984ff5abab0c5fe32920330ba:/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..ed03342dc 100644 --- a/app/views/user_blocks/blocks_on.html.erb +++ b/app/views/user_blocks/blocks_on.html.erb @@ -1,9 +1,10 @@ -<% @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))) %>

+

<%= t(".heading_html", :name => link_to(@user.display_name, @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 %>