<div id="c-users">
  <div id="a-show">
    <h1><%= link_to_user @user %></h1>

    <%= render "statistics", :presenter => @presenter, :user => @user %>

    <% if !CurrentUser.is_admin? && !@user.enable_privacy_mode? || CurrentUser.id == @user.id %>
      <%= render "posts/partials/common/inline_blacklist" %>
      <%= render "post_summary", :presenter => @presenter, :user => @user %>
    <% end %>
  </div>
</div>

<%= render "secondary_links" %>

<% content_for(:page_title) do %>
  User - <%= @presenter.name %> - <%= Danbooru.config.app_name %>
<% end %>

<% content_for(:html_header, auto_discovery_link_tag(:atom, comments_url(:atom, search: { post_tags_match: "user:#{@user.name}" }), title: "Comments on #{@user.name}'s uploads")) %>
<% content_for(:html_header, auto_discovery_link_tag(:atom, comments_url(:atom, search: { post_tags_match: "commenter:#{@user.name}" }), title: "Comments on posts commented on by #{@user.name}")) %>
