removes retired proposals from default index

adds a sidebar link to retired proposals list
This commit is contained in:
Juanjo Bazán
2016-04-22 15:30:55 +02:00
parent 58a5e2a283
commit d63cf8b392
8 changed files with 57 additions and 2 deletions

View File

@@ -22,6 +22,8 @@
<%= page_entries_info @proposals %>
<%= t("proposals.index.filter_topic", count: @proposals.size, topic: @tag_filter) %>
</h2>
<% elsif params[:retired].present? %>
<h2><%= t("proposals.index.retired_proposals") %>
<% end %>
</div>
@@ -57,6 +59,7 @@
<%= render 'categories' %>
<%= render 'geozones' %>
<%= render 'popular' %>
<%= render 'retired' %>
</aside>
</div>