The new CSV report was more configurable and could work on proposals,
processes and comments. However, it had several issues.
In the public area, by default it generated a blank file.
In the admin section, the report was hard to configure and it generated
a file with less quality than the old system.
So until we improve this system, we're bringing back the old investment
CSV exporter.
This commit reverts most of commit 9d1ca3bf.
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
<% provide :title do %>
|
|
<%= t("layouts.header.collaborative_legislation") %> - <%= t("legislation.processes.index.filters.#{@current_filter}") %>
|
|
<% end %>
|
|
|
|
<%= render "shared/section_header", i18n_namespace: "legislation.processes.index.section_header", image: "legislation_processes" %>
|
|
|
|
<div class="row">
|
|
<div id="legislation" class="legislation-list small-12 medium-9 column">
|
|
|
|
<%= render "shared/filter_subnav", i18n_namespace: "legislation.processes.index" %>
|
|
|
|
<div id="legislation-list">
|
|
<% if @processes.any? %>
|
|
<%= render @processes %>
|
|
<%= paginate @processes %>
|
|
<% else %>
|
|
<div class="callout primary margin-top">
|
|
<%= t(".no_#{@current_filter}_processes") %>
|
|
</div>
|
|
<% end %>
|
|
|
|
<div id="section_help" class="margin" data-magellan-target="section_help">
|
|
<p class="lead">
|
|
<strong><%= t("legislation.processes.index.section_footer.title") %></strong>
|
|
</p>
|
|
<p><%= t("legislation.processes.index.section_footer.description") %></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|