The interface was a bit confusing, since after clicking on "See unfeasible investments" (or similar), we were on a page where no investments were shown. Besides, since commit7e3dd47d5, the group page is only linked from the "my ballot" page, through a link inviting the user to vote in that group, and it's only possible to vote selected investments (which is the default filter during the final voting phase). The only reason we had these links here was these links weren't present in the investments page. But they're present there since commit04605d5d5, so we don't need them in the group page anymore.
29 lines
913 B
Plaintext
29 lines
913 B
Plaintext
<main class="budget-group-show">
|
|
<header>
|
|
<%= back_link_to budget_path(@budget) %>
|
|
<h1><%= t("budgets.groups.show.title") %></h1>
|
|
</header>
|
|
|
|
<div class="row margin">
|
|
<div id="headings" class="small-12 medium-7 column select-district">
|
|
<div class="row">
|
|
<% @group.headings.sort_by_name.each_slice(7) do |slice| %>
|
|
<div class="small-6 medium-4 column end">
|
|
<% slice.each do |heading| %>
|
|
<span id="<%= dom_id(heading) %>"
|
|
class="<%= css_for_ballot_heading(heading) %>">
|
|
<%= link_to heading.name, budget_investments_path(heading_id: heading.id) %>
|
|
<br>
|
|
</span>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="medium-5 column show-for-medium text-center">
|
|
<%= image_tag(image_path_for("map.jpg")) %>
|
|
</div>
|
|
</div>
|
|
</main>
|