fixes #2447: Display disapproval counts in status bar to uploader and approvers
This commit is contained in:
@@ -18,7 +18,11 @@
|
||||
<p>This post was deleted for the following reasons: </p>
|
||||
<%= post_flag_reasons(post) %>
|
||||
<% else %>
|
||||
This post was deleted
|
||||
<p>This post was deleted</p>
|
||||
<% end %>
|
||||
|
||||
<% if post.disapprovals.count > 0 %>
|
||||
<p><%= render "post_disapprovals/counts", :disapprovals => post.disapprovals %></p>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
@@ -27,17 +31,7 @@
|
||||
<div class="ui-corner-all ui-state-highlight notice notice-pending" id="pending-approval-notice">
|
||||
<% if post.is_pending? %>
|
||||
This post is pending approval.
|
||||
It has been reviewed by <%= pluralize post.disapprovals.count, "moderator" %>.
|
||||
<% if post.disapprovals.breaks_rules.count > 0 %>
|
||||
<%= post.disapprovals.breaks_rules.count %> believe it breaks the rules.
|
||||
<% end %>
|
||||
<% if post.disapprovals.poor_quality.count > 0 %>
|
||||
<%= post.disapprovals.poor_quality.count %> believe it has poor quality.
|
||||
<% end %>
|
||||
<% if post.disapprovals.disinterest.count > 0 %>
|
||||
<%= post.disapprovals.disinterest.count %> did not like the post enough to approve it.
|
||||
<% end %>
|
||||
|
||||
<%= render "post_disapprovals/counts", :disapprovals => post.disapprovals %>
|
||||
(<%= 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") %>)
|
||||
|
||||
Reference in New Issue
Block a user