Merge pull request #2620 from consul/budgets-see-results
Budgets see results
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
<div class="float-right">
|
||||
<%= link_to t("admin.budget_investments.index.see_results"),
|
||||
budget_results_path(current_budget, heading_id: current_budget.headings.first),
|
||||
class: "button hollow medium", target: "_blank" %>
|
||||
</div>
|
||||
|
||||
<h2 class="inline-block"><%= @budget.name %> - <%= t("admin.budget_investments.index.title") %></h2>
|
||||
|
||||
<%= render "search_form" %>
|
||||
|
||||
@@ -48,8 +48,7 @@
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
|
||||
<% if current_budget.finished? || (current_budget.balloting? && can?(:read_results, current_budget)) %>
|
||||
<% if current_budget.finished? %>
|
||||
<%= link_to t("budgets.show.see_results"),
|
||||
budget_results_path(current_budget, heading_id: current_budget.headings.first),
|
||||
class: "button margin-top expanded" %>
|
||||
@@ -137,6 +136,7 @@
|
||||
<h3><%= budget.name %></h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="small-12 medium-3 column table" data-equalizer-watch>
|
||||
<div id="budget_<%= budget.id %>_results" class="table-cell align-middle">
|
||||
<%= link_to t("budgets.index.see_results"),
|
||||
|
||||
@@ -192,6 +192,7 @@ en:
|
||||
table_evaluation: "Show to valuators"
|
||||
table_incompatible: "Incompatible"
|
||||
cannot_calculate_winners: The budget has to stay on phase "Balloting projects", "Reviewing Ballots" or "Finished budget" in order to calculate winners projects
|
||||
see_results: "See results"
|
||||
show:
|
||||
assigned_admin: Assigned administrator
|
||||
assigned_valuators: Assigned valuators
|
||||
|
||||
@@ -192,6 +192,7 @@ es:
|
||||
table_evaluation: "Mostrar a evaluadores"
|
||||
table_incompatible: "Incompatible"
|
||||
cannot_calculate_winners: El presupuesto debe estar en las fases "Votación final", "Votación finalizada" o "Resultados" para poder calcular las propuestas ganadoras
|
||||
see_results: "Ver resultados"
|
||||
show:
|
||||
assigned_admin: Administrador asignado
|
||||
assigned_valuators: Evaluadores asignados
|
||||
|
||||
Reference in New Issue
Block a user