Replace total votes to cached_votes_score on legislation proposals

This show votes_score as result of votes_up minus votes_down
This commit is contained in:
decabeza
2019-02-08 18:33:22 +01:00
parent 5c44a3b982
commit 0ae1cdfc8c
3 changed files with 50 additions and 1 deletions

View File

@@ -42,7 +42,7 @@
<% end %>
<span class="total-votes">
<%= t("proposals.proposal.votes", count: proposal.total_votes) %>
<%= t("proposals.proposal.votes", count: proposal.votes_score) %>
</span>
<% if user_signed_in? && current_user.organization? %>