Files
danbooru/app/views/users/show.html.erb
evazion c36c0b9e7a views: refactor atom feed links.
* Fix comment & forum feeds to include search params.
* Remove global post feeds (only include post feeds on post index).
2020-01-26 19:16:38 -06:00

25 lines
999 B
Plaintext

<% page_title "@#{@user.pretty_name}" %>
<%= render "secondary_links" %>
<div id="c-users">
<div id="a-show">
<h1><%= link_to_user @user %></h1>
<% if @user.viewable_moderation_reports.present? %>
<div class="moderation-users-notice">
<span class="info" id="moderation-users-notice-for-<%= @user.id %>">
This user has been reported for moderation! (<%= pluralize(@user.viewable_moderation_reports.length, "report") %>)
</span>
</div>
<% end %>
<%= render "statistics", presenter: @user.presenter, user: @user %>
<%= render "posts/partials/common/inline_blacklist" %>
<%= render "post_summary", presenter: @user.presenter, user: @user %>
</div>
</div>
<% atom_feed_tag "Comments on #{@user.pretty_name}'s uploads", comments_url(:atom, search: { post_tags_match: "user:#{@user.name}" }) %>
<% atom_feed_tag "Comments on posts commented on by #{@user.pretty_name}", comments_url(:atom, search: { post_tags_match: "commenter:#{@user.name}" }) %>