% if post.is_flagged? && !post.is_deleted? && post.flags.any? %>
This post was flagged for review (<%= link_to "learn more", wiki_pages_path(:title => "howto:flag") %>):
<%= post_flag_reasons(post) %>
<% end %>
<% if post.is_banned? %>
The artist requested removal of this page
<% end %>
<% if post.is_deleted? %>
<% if post.flags.any? %>
This post was deleted for the following reasons:
<%= post_flag_reasons(post) %>
<% else %>
This post was deleted
<% end %>
<%= render "post_disapprovals/counts", :disapprovals => post.disapprovals, :post => post %>
<% if CurrentUser.id == post.uploader_id && Danbooru.config.upload_feedback_topic.present? %>
If you don't understand why your uploads keep getting deleted, you should ask on the <%= link_to "forum", forum_topic_path(Danbooru.config.upload_feedback_topic) %> for advice.
<% end %>
<% end %>
<% if post.is_pending? || post.is_flagged? %>
<% if post.is_pending? %>
This post is pending approval.
(<%= link_to "learn more", wiki_pages_path(:title => "about:mod_queue") %>)
<% else %>
This post was flagged and is pending approval (<%= link_to "learn more", wiki_pages_path(:title => "about:mod_queue") %>)
<% end %>
<%= render "post_disapprovals/counts", :disapprovals => post.disapprovals, :post => post %>
<% if CurrentUser.can_approve_posts? && !post.disapproved_by?(CurrentUser.user) %>
<% unless post.is_status_locked? %>
<%= link_to "Approve", moderator_post_approval_path(:post_id => post.id), :id => "quick-mod-approve", :method => :post, :remote => true, :class => "btn" %> |
<% end %>
<%= link_to "Breaks Rules", moderator_post_disapproval_path(:post_id => post.id, :reason => "breaks_rules"), :method => :post, :remote => true, :class => "btn" %> |
<%= link_to "Poor Quality", moderator_post_disapproval_path(:post_id => post.id, :reason => "poor_quality"), :method => :post, :remote => true, :class => "btn" %> |
<%= link_to "No Interest", moderator_post_disapproval_path(:post_id => post.id, :reason => "disinterest"), :method => :post, :remote => true, :class => "btn" %> |
<%= link_to "Detailed Rejection", "#", "data-post-id" => post.id, :class => "detailed-rejection-link btn" %>
<% end %>
<% end %>
<% if (post.is_flagged? || post.is_deleted?) && post.appeals.any? %>
This post was appealed:
<%= post_appeal_reasons(post) %>
<% end %>
<% if post.parent_id && post.parent_exists? %>
<%= has_parent_message(post, @parent_post_set) %>
<%= @parent_post_set.presenter.post_previews_html(self) %>
<% end %>
<% if post.has_visible_children? %>
<%= has_children_message(post, @children_post_set) %>
<%= @children_post_set.presenter.post_previews_html(self) %>
<% end %>
<% if post.visible? && post.has_large? && !post.is_ugoira? %>
">
Resized to <%= number_to_percentage post.resize_percentage.floor, :precision => 0 %> of original (<%= link_to "view original", post.file_url, :id => "image-resize-link" %>)
Loading...
<% end %>
<%= render "post_disapprovals/detailed_rejection_dialog" %>