Adds link to milestones on budgets index page

This commit is contained in:
decabeza
2018-09-10 17:51:42 +02:00
parent 0209957fb4
commit 7d55f64aac
4 changed files with 12 additions and 3 deletions

View File

@@ -760,6 +760,10 @@
&.past-budgets {
min-height: 0;
.button ~ .button {
margin-left: $line-height / 2;
}
}
}

View File

@@ -136,17 +136,20 @@
<div class="budget-investment clear">
<div class="panel past-budgets">
<div class="row" data-equalizer data-equalizer-on="medium">
<div class="small-12 medium-9 column table" data-equalizer-watch>
<div class="small-12 medium-6 column table" data-equalizer-watch>
<div class="table-cell align-middle">
<h3><%= budget.name %></h3>
</div>
</div>
<div class="small-12 medium-3 column table" data-equalizer-watch>
<div class="small-12 medium-6 column table" data-equalizer-watch>
<div id="budget_<%= budget.id %>_results" class="table-cell align-middle">
<%= link_to t("budgets.index.see_results"),
budget_results_path(budget.id),
class: "button expanded" %>
class: "button" %>
<%= link_to t("budgets.index.milestones"),
budget_executions_path(budget.id),
class: "button" %>
</div>
</div>
</div>

View File

@@ -57,6 +57,7 @@ en:
section_footer:
title: Help with participatory budgets
description: With the participatory budgets the citizens decide to which projects is destined a part of the budget.
milestones: Milestones
investments:
form:
tag_category_label: "Categories"

View File

@@ -57,6 +57,7 @@ es:
section_footer:
title: Ayuda sobre presupuestos participativos
description: Con los presupuestos participativos la ciudadanía decide a qué proyectos va destinada una parte del presupuesto.
milestones: Seguimiento de proyectos
investments:
form:
tag_category_label: "Categorías"