diff --git a/app/views/valuation/budget_investments/index.html.erb b/app/views/valuation/budget_investments/index.html.erb
index 9b82f7f5a..b44a129aa 100644
--- a/app/views/valuation/budget_investments/index.html.erb
+++ b/app/views/valuation/budget_investments/index.html.erb
@@ -1,4 +1,7 @@
-
<% @heading_filters.each_slice(8) do |slice| %>
@@ -18,25 +21,34 @@
<%= page_entries_info @investments %>
- <% @investments.each do |investment| %>
-
- |
- <%= investment.id %>
- |
-
- <%= link_to investment.title, valuation_budget_budget_investment_path(@budget, investment) %>
- |
-
- <%= link_to t("valuation.budget_investments.index.edit"), edit_valuation_budget_budget_investment_path(@budget, investment) %>
- |
-
- <%= assigned_valuators_info(investment.valuators) %>
- |
-
- <%= investment.heading.name %>
- |
+
+
+ | <%= t("valuation.budget_investments.index.table_id") %> |
+ <%= t("valuation.budget_investments.index.table_title") %> |
+ <%= t("valuation.budget_investments.index.table_heading_name") %> |
+ <%= t("valuation.budget_investments.index.table_actions") %> |
- <% end %>
+
+
+ <% @investments.each do |investment| %>
+
+ |
+ <%= investment.id %>
+ |
+
+ <%= link_to investment.title, valuation_budget_budget_investment_path(@budget, investment) %>
+ |
+
+ <%= investment.heading.name %>
+ |
+
+ <%= link_to t("valuation.budget_investments.index.edit"),
+ edit_valuation_budget_budget_investment_path(@budget, investment),
+ class: "button hollow expanded" %>
+ |
+
+ <% end %>
+
<%= paginate @investments %>
diff --git a/app/views/valuation/budgets/index.html.erb b/app/views/valuation/budgets/index.html.erb
index 014633373..0db30c335 100644
--- a/app/views/valuation/budgets/index.html.erb
+++ b/app/views/valuation/budgets/index.html.erb
@@ -5,13 +5,34 @@
<%= page_entries_info @budgets %>
- <% @budgets.each do |budget| %>
-
- |
- <%= link_to budget.name, valuation_budget_budget_investments_path(budget_id: budget.id) %>
- |
+
+
+ | <%= t("valuation.budgets.index.table_name") %> |
+ <%= t("valuation.budgets.index.table_phase") %> |
+ <%= t("valuation.budgets.index.table_assigned_headings") %> |
+ <%= t("valuation.budgets.index.table_actions") %> |
- <% end %>
+
+
+ <% @budgets.each do |budget| %>
+
+ |
+ <%= budget.name %>
+ |
+
+ <%= t("budget.phase.#{budget.phase}") %>
+ |
+
+ 3 partidas
+ |
+
+ <%= link_to t("valuation.budgets.index.evaluate"),
+ valuation_budget_budget_investments_path(budget_id: budget.id),
+ class: "button hollow expanded" %>
+ |
+
+ <% end %>
+
-<%= paginate @budgets %>
\ No newline at end of file
+<%= paginate @budgets %>
diff --git a/config/locales/valuation.en.yml b/config/locales/valuation.en.yml
index a5195deca..4aafe160b 100644
--- a/config/locales/valuation.en.yml
+++ b/config/locales/valuation.en.yml
@@ -9,8 +9,13 @@ en:
index:
title: Participatory budgets
filters:
- open: Open
+ current: Open
finished: Finished
+ table_name: Name
+ table_phase: Phase
+ table_assigned_headings: Assigned headings
+ table_actions: Actions
+ evaluate: Evaluate
budget_investments:
index:
headings_filter_all: All headings
@@ -19,11 +24,15 @@ en:
valuating: Under valuation
valuation_finished: Valuation finished
title: Investment projects
- edit: Edit
+ edit: Edit dossier
valuators_assigned:
one: Assigned valuator
other: "%{count} valuators assigned"
no_valuators_assigned: No valuators assigned
+ table_id: ID
+ table_title: Title
+ table_heading_name: Heading name
+ table_actions: Actions
show:
back: Back
title: Investment project
diff --git a/config/locales/valuation.es.yml b/config/locales/valuation.es.yml
index 67302437b..641f9c003 100644
--- a/config/locales/valuation.es.yml
+++ b/config/locales/valuation.es.yml
@@ -9,8 +9,13 @@ es:
index:
title: Presupuestos participativos
filters:
- open: Abiertos
+ current: Abiertos
finished: Terminados
+ table_name: Nombre
+ table_phase: Fase
+ table_assigned_headings: Partidas asignadas
+ table_actions: Acciones
+ evaluate: Evaluar
budget_investments:
index:
headings_filter_all: Todas las partidas
@@ -19,11 +24,15 @@ es:
valuating: En evaluación
valuation_finished: Evaluación finalizada
title: Propuestas de inversión
- edit: Editar
+ edit: Editar informe
valuators_assigned:
one: Evaluador asignado
other: "%{count} evaluadores asignados"
no_valuators_assigned: Sin evaluador
+ table_id: ID
+ table_title: Título
+ table_heading_name: Nombre de la partida
+ table_actions: Acciones
show:
back: Volver
title: Propuesta de inversión