% @title = t(".title", :name => h(@user.display_name)) %>
<% content_for :heading do %>
<%= raw(t(".heading", :name => link_to(h(@user.display_name), user_path(@user)))) %>
<% end %>
<% unless @user_blocks.empty? %>
<%= render :partial => "blocks", :locals => { :show_revoke_link => can?(:revoke, UserBlock), :show_user_name => true, :show_creator_name => false } %>
<% else %>
<%= t ".empty", :name => h(@user.display_name) %>
<% end %>