always show vote summary for mods

This commit is contained in:
joshua stein 2015-09-03 14:18:25 -05:00
parent cbf14021ac
commit a73d19d667

View file

@ -157,7 +157,9 @@ class="story <%= story.vote && story.vote[:vote] == 1 ? "upvoted" : "" %>
</span>
<% end %>
<% if defined?(single_story) && single_story && story.downvotes >= 3 %>
<% if defined?(single_story) && single_story &&
((story.downvotes > 0 && @user && @user.is_moderator?) ||
(story.downvotes >= 3)) %>
| <%= story.vote_summary_for(@user).downcase %>
<% end %>
<% end %>