Report generation. Download csv
This commit is contained in:
@@ -9,6 +9,22 @@
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
<% if feature?(:debates) %>
|
||||
<li class="section-title <%= "is-active" if controller_name == "debates" %>">
|
||||
<%= link_to admin_debates_path do %>
|
||||
<span class="icon-debates"></span>
|
||||
<strong><%= t("admin.menu.debates") %></strong>
|
||||
<% end %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
<li class="section-title <%= "is-active" if controller_name == "comments" %>">
|
||||
<%= link_to admin_comments_path do %>
|
||||
<span class="icon-comments"></span>
|
||||
<strong><%= t("admin.menu.comments") %></strong>
|
||||
<% end %>
|
||||
</li>
|
||||
|
||||
<% if feature?(:polls) %>
|
||||
<li class="section-title <%= "is-active" if menu_polls? %>">
|
||||
<%= link_to admin_polls_path do %>
|
||||
@@ -212,6 +228,50 @@
|
||||
<% end %>
|
||||
</li>
|
||||
|
||||
<li class="section-title">
|
||||
<a href="#">
|
||||
<span class="icon-arrow-down"></span>
|
||||
<strong><%= t("admin.menu.download_settings.title") %></strong>
|
||||
</a>
|
||||
<ul <%= "class=is-active" if controller_name == "download_settings" %>>
|
||||
|
||||
<% if feature?(:debates) %>
|
||||
<li <%= "class=is-active" if !@download_resource.nil? && @download_resource == "debates" %>>
|
||||
<%= link_to t("admin.menu.download_settings.debates"), admin_edit_download_settings_path(resource: "debates") %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
<% if feature?(:proposals) %>
|
||||
<li <%= "class=is-active" if !@download_resource.nil? && @download_resource == "proposals" %>>
|
||||
<%= link_to t("admin.menu.download_settings.proposals"), admin_edit_download_settings_path(resource: "proposals") %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
<% if feature?(:legislation) %>
|
||||
<li <%= "class=is-active" if !@download_resource.nil? && @download_resource == "legislation_processes" %>>
|
||||
<%= link_to t("admin.menu.download_settings.legislation_processes"), admin_edit_download_settings_path(resource: "legislation_processes") %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
<% if feature?(:budgets) %>
|
||||
<li <%= "class=is-active" if !@download_resource.nil? && @download_resource == "budget_investments" %>>
|
||||
<%= link_to t("admin.menu.download_settings.budget_investments"), admin_edit_download_settings_path(resource: "budget_investments") %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
<% if feature?(:budgets) %>
|
||||
<li <%= "class=is-active" if !@download_resource.nil? && @download_resource == "budget_investments" %>>
|
||||
<%= link_to t("admin.menu.download_settings.budget_investments_milestones"), admin_edit_download_settings_path(resource: "budget_investments", config: 1) %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
<li <%= "class=is-active" if !@download_resource.nil? && @download_resource == "comments" %>>
|
||||
<%= link_to t("admin.menu.download_settings.comments"), admin_edit_download_settings_path(resource: "comments") %>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="section-title">
|
||||
<a href="#">
|
||||
<span class="icon-settings"></span>
|
||||
|
||||
Reference in New Issue
Block a user