X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fb709531baf97b101892d39f6c133178c9ea7922..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 bb71d48c8..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 %> -

<%= raw(t(".heading", :name => link_to(h(@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 %>