Sha256: a9e1adb94448f77c6b3aa94e0a947c8ae8690f12484b5880cb0dc1a847f8a5fe
Contents?: true
Size: 951 Bytes
Versions: 58
Compression:
Stored size: 951 Bytes
Contents
<% if !current_settings.votes_hidden? && current_component.participatory_space.can_participate?(current_user) %> <% if component_settings.participatory_texts_enabled? && from_proposals_list %> <%= render partial: "decidim/proposals/proposals/participatory_texts/proposal_votes_count", locals: { proposal: proposal, from_proposals_list: true } %> <% else %> <% progress ||= proposal.proposal_votes_count || 0 %> <% total ||= proposal.maximum_votes || 0 %> <% subtitle_text = progress >= total ? t("decidim.proposals.proposals.votes_count.most_popular_proposal") : t("decidim.proposals.proposals.votes_count.need_more_votes") %> <%= cell( "decidim/progress_bar", progress, total: total, units_name: "decidim.proposals.proposals.votes_count.count", element_id: "proposal-#{proposal.id}-votes-count", subtitle_text: subtitle_text, small: from_proposals_list ) %> <% end %> <% end %>
Version data entries
58 entries across 58 versions & 1 rubygems