From 3e330193d4cffe506804e9bd8854cccc63c1ce90 Mon Sep 17 00:00:00 2001 From: rgarcia Date: Wed, 16 May 2018 21:23:42 +0200 Subject: [PATCH] Fix select investment specs The select button seems to be outside the window. Removing some columns to make the select button visible by capybara This is just a temporary fix, we have to find a better solution. Playing with the css to find an appropriate length for the table containing this select button, is probably the way to go --- .../budget_investments/_investments.html.erb | 23 +++---------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/app/views/admin/budget_investments/_investments.html.erb b/app/views/admin/budget_investments/_investments.html.erb index 8d4d9007c..d64aab397 100644 --- a/app/views/admin/budget_investments/_investments.html.erb +++ b/app/views/admin/budget_investments/_investments.html.erb @@ -38,9 +38,9 @@ <%= t("admin.budget_investments.index.table_id") %> <%= t("admin.budget_investments.index.table_title") %> <%= t("admin.budget_investments.index.table_supports") %> - <%= t("admin.budget_investments.index.table_admin") %> - <%= t("admin.budget_investments.index.table_valuator") %> - <%= t("admin.budget_investments.index.table_valuation_group") %> + + + <%= t("admin.budget_investments.index.table_geozone") %> <%= t("admin.budget_investments.index.table_feasibility") %> <%= t("admin.budget_investments.index.table_valuation_finished") %> @@ -68,23 +68,6 @@ <%= investment.total_votes %> - - <% if investment.administrator.present? %> - "> - <%= investment.administrator.name %> - - <% else %> - <%= t("admin.budget_investments.index.no_admin_assigned") %> - <% end %> - - - <% no_valuators_assigned = t("admin.budget_investments.index.no_valuators_assigned") %> - <%= investment.assigned_valuators || no_valuators_assigned %> - - - <% no_valuation_groups = t("admin.budget_investments.index.no_valuation_groups") %> - <%= investment.assigned_valuation_groups || no_valuation_groups %> - <%= investment.heading.name %>