Changed applied: - Remove Archived proposals from tab and add a link under Proposals lists - Remove Popular proposals link from custom section and add it to the Proposals lists - Remove Retired proposals link from custom section and add it to the Proposals lists - Remove Selected proposals link from custom section and add it to the Proposals lists
12 lines
457 B
Plaintext
12 lines
457 B
Plaintext
<% if params[:retired].present? %>
|
|
<div class="sidebar-divider"></div>
|
|
<h2 class="sidebar-title"><%= t("proposals.index.retired_proposals") %></h2>
|
|
|
|
<div class="sidebar-links">
|
|
<%= link_to t("proposals.index.retired_links.all"), proposals_path(retired: "all") %>
|
|
<% Proposal::RETIRE_OPTIONS.each do |option| %>
|
|
<%= link_to t("proposals.index.retired_links.#{option}"), proposals_path(retired: option) %>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|