app/views/decidim/proposals/proposals/_voting_rules.html.erb in decidim-proposals-0.9.3 vs app/views/decidim/proposals/proposals/_voting_rules.html.erb in decidim-proposals-0.10.0

- old
+ new

@@ -1,6 +1,6 @@ -<% if votes_enabled? && (vote_limit_enabled? || maximum_votes_per_proposal_enabled? || proposal_limit_enabled?) %> +<% if votes_enabled? && (vote_limit_enabled? || threshold_per_proposal_enabled? || proposal_limit_enabled? || can_accumulate_supports_beyond_threshold?) %> <div class="row column"> <div class="callout secondary voting-rules"> <div class="row"> <div class="columns medium-8 large-9"> <h3 class="heading3"><%= t('.title') %></h3> @@ -11,11 +11,15 @@ <% if proposal_limit_enabled? %> <li><%= t('.proposal_limit.description', limit: proposal_limit) %></li> <% end %> - <% if maximum_votes_per_proposal_enabled? %> - <li><%= t('.maximum_votes_per_proposal.description', limit: maximum_votes_per_proposal) %></li> + <% if threshold_per_proposal_enabled? %> + <li><%= t('.threshold_per_proposal.description', limit: threshold_per_proposal) %></li> + <% end %> + + <% if can_accumulate_supports_beyond_threshold? %> + <li><%= t('.can_accumulate_supports_beyond_threshold.description') %></li> <% end %> </ul> </div> <% if current_user_can_vote? %> <div class="columns medium-4 large-3">