removes hardcoding of proposal's supports

makes it dynamic based on Proposal.votes_needed_for_success
This commit is contained in:
Juanjo Bazán
2015-11-03 19:20:13 +01:00
parent 4694cf1f64
commit 628cbd9e20
3 changed files with 6 additions and 6 deletions

View File

@@ -10,8 +10,8 @@
<span class="total-supports">
<%= t("proposals.proposal.supports", count: proposal.total_votes) %>&nbsp;
<span>
<abbr title="<%= t("proposals.proposal.census_percent") %>">
<%= t("proposals.proposal.supports_necessary") %>
<abbr title="<%= t("proposals.proposal.reason_for_supports_necessary") %>">
<%= t("proposals.proposal.supports_necessary", number: number_with_delimiter(Proposal.votes_needed_for_success)) %>
</abbr>
</span>
</span>