Sha256: 3e0d59ad4c3d5589ad4048801610a74a067cb5ed101d3f7df5773e76dbba68f3
Contents?: true
Size: 1.63 KB
Versions: 2
Compression:
Stored size: 1.63 KB
Contents
<% 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> <ul> <% if vote_limit_enabled? %> <li><%= t('.vote_limit.description', limit: feature_settings.vote_limit) %></li> <% end %> <% if proposal_limit_enabled? %> <li><%= t('.proposal_limit.description', limit: proposal_limit) %></li> <% end %> <% 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"> <div class="card card--nomargin text-center remaining-votes-counter"> <div class="card__content"> <span class="definition-data__title"><%= t('.vote_limit.left', limit: feature_settings.vote_limit) %></span> <%= render partial: "remaining_votes_count" %> <span class="extra__suport-text"><%= t('.vote_limit.votes') %></span> </div> </div> </div> <% end %> </div> </div> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
decidim-proposals-0.10.1 | app/views/decidim/proposals/proposals/_voting_rules.html.erb |
decidim-proposals-0.10.0 | app/views/decidim/proposals/proposals/_voting_rules.html.erb |