always show vote summary for mods
This commit is contained in:
parent
cbf14021ac
commit
a73d19d667
|
@ -157,7 +157,9 @@ class="story <%= story.vote && story.vote[:vote] == 1 ? "upvoted" : "" %>
|
||||||
</span>
|
</span>
|
||||||
<% end %>
|
<% 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 %>
|
| <%= story.vote_summary_for(@user).downcase %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in a new issue