Add help text in budget phases

Co-authored-by: decabeza <alberto@decabeza.es>
This commit is contained in:
Julian Herrero
2020-03-16 12:54:00 +01:00
committed by Javi Martín
parent 0019974ccc
commit 6cec263d67
3 changed files with 6 additions and 0 deletions

View File

@@ -42,6 +42,8 @@
<%= render "/admin/budgets/association", assignable_type: "valuators", assignables: @valuators, form: f %>
</div>
<%= render Admin::Budgets::HelpComponent.new("budget_phases") %>
<% if @budget.phases.present? %>
<div class="row">
<div class="small-12 column">

View File

@@ -164,6 +164,8 @@ en:
description_help_text: This text will appear in the header when the phase is active
enabled_help_text: This phase will be public in the budget's phases timeline, as well as active for any other purpose
save_changes: Save changes
index:
help: "Participatory budgets have different phases. Here you can enable or disable phases and also customize each individual phase."
budget_investments:
index:
heading_filter_all: All headings

View File

@@ -164,6 +164,8 @@ es:
description_help_text: Este texto aparecerá en la cabecera cuando la fase esté activa
enabled_help_text: Esta fase será pública en el calendario de fases del presupuesto y estará activa para otros propósitos
save_changes: Guardar cambios
index:
help: "Los presupuestos participativos tienen distintas fases. Aquí puedes habilitar o deshabilitar fases y también personalizar cada una de las fases."
budget_investments:
index:
heading_filter_all: Todas las partidas