From 5c7cc5a20f3cd2796a84c236e1fabda419cc0be1 Mon Sep 17 00:00:00 2001
From: decabeza
Date: Tue, 5 Feb 2019 14:10:40 +0100
Subject: [PATCH] Improve space for links on budget index
---
app/views/budgets/index.html.erb | 28 +++++++++++++++++-----------
1 file changed, 17 insertions(+), 11 deletions(-)
diff --git a/app/views/budgets/index.html.erb b/app/views/budgets/index.html.erb
index dfc656a42..440f929e9 100644
--- a/app/views/budgets/index.html.erb
+++ b/app/views/budgets/index.html.erb
@@ -94,22 +94,28 @@
<%= render_map(nil, "budgets", false, nil, @budgets_coordinates) %>
-
+
<% show_links = show_links_to_budget_investments(current_budget) %>
<% if show_links %>
- <%= link_to budget_url(current_budget) do %>
- <%= t("budgets.index.investment_proyects") %>
- <% end %>
+ -
+ <%= link_to budget_url(current_budget) do %>
+ <%= t("budgets.index.investment_proyects") %>
+ <% end %>
+
<% end %>
- <%= link_to budget_url(current_budget, filter: 'unfeasible') do %>
- <%= t("budgets.index.unfeasible_investment_proyects") %>
- <% end %>
- <% if show_links %>
- <%= link_to budget_url(current_budget, filter: 'unselected') do %>
- <%= t("budgets.index.not_selected_investment_proyects") %>
+ -
+ <%= link_to budget_url(current_budget, filter: "unfeasible") do %>
+ <%= t("budgets.index.unfeasible_investment_proyects") %>
<% end %>
+
+ <% if show_links %>
+ -
+ <%= link_to budget_url(current_budget, filter: "unselected") do %>
+ <%= t("budgets.index.not_selected_investment_proyects") %>
+ <% end %>
+
<% end %>
-
+
<% end %>