From 64892cf3ead8955f6d5d5685b8d593eab7162caf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sat, 13 Nov 2021 14:41:43 +0100 Subject: [PATCH] Make investment filters less prominent As mentioned in commit 36d795f69, investment filters aren't that important; actually, most citizens won't use them at all, and are there mainly for transparency purposes. So we're moving them to the bottom of the sidebar, just like the links for selected/archived/retired proposals in the proposals section. --- app/views/budgets/investments/_sidebar.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/budgets/investments/_sidebar.html.erb b/app/views/budgets/investments/_sidebar.html.erb index f76cfc224..2185e210c 100644 --- a/app/views/budgets/investments/_sidebar.html.erb +++ b/app/views/budgets/investments/_sidebar.html.erb @@ -59,8 +59,6 @@ <% end %> -<%= render Budgets::Investments::FiltersComponent.new %> - <% if @heading && !@heading.content_blocks.where(locale: I18n.locale).empty? %> <%= render "budgets/investments/content_blocks" %> <% end %> @@ -70,3 +68,4 @@ <% end %> <%= render "shared/tag_cloud", taggable: "Budget::Investment" %> <%= render "budgets/investments/categories" %> +<%= render Budgets::Investments::FiltersComponent.new %>