It was removed in commit 128a8164 because we hadn't reviewed it nor
tested it properly. We're now adding it again, fixing the issues we've
found while reviewing.
24 lines
712 B
Plaintext
24 lines
712 B
Plaintext
<section class="proposals-phase">
|
|
<header>
|
|
<h3><%= t("legislation.summary.proposals_phase") %></h3>
|
|
<h3><%= t("legislation.summary.proposals", count: proposals.count) %></h3>
|
|
</header>
|
|
|
|
<% if proposals.any? %>
|
|
<div>
|
|
<% proposals.sort_by_supports.each do |proposal| %>
|
|
<div class="proposal-summary">
|
|
<h4>
|
|
<%= link_to proposal.title, polymorphic_path(proposal) %>
|
|
</h4>
|
|
<p><%= t("legislation.summary.votes", count: proposal.votes_score) %></p>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
<% else %>
|
|
<div class="callout primary">
|
|
<p><%= t("legislation.processes.proposals.empty_proposals") %></p>
|
|
</div>
|
|
<% end %>
|
|
</section>
|