Unify "current phase" text

We were using "actual phase" and then "current phase" right below it.
This commit is contained in:
Javi Martín
2021-02-22 19:08:40 +01:00
parent 65ecae2c45
commit 6ae4a1cf09
4 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
<div class="budget-subheader">
<div class="small-12 medium-8 column info">
<span class="current-phase"><strong><%= t("budgets.show.phase") %></strong></span>
<span class="current-phase"><strong><%= t("budgets.index.current_phase") %></strong></span>
<h2><%= budget.current_phase.name %></h2>
</div>

View File

@@ -178,7 +178,6 @@ en:
other: "You have selected <strong>%{count}</strong> projects out of <strong>%{limit}</strong>"
show:
group: Group
phase: Actual phase
unfeasible_title: Unfeasible investments
unfeasible: See unfeasible investments
unselected_title: Investments not selected for balloting phase

View File

@@ -178,7 +178,6 @@ es:
other: "Has seleccionado <strong>%{count}</strong> proyectos de <strong>%{limit}</strong>"
show:
group: Grupo
phase: Fase actual
unfeasible_title: Proyectos de gasto inviables
unfeasible: Ver los proyectos inviables
unselected_title: Proyectos no seleccionados para la votación final

View File

@@ -44,8 +44,10 @@ describe "Budgets" do
expect(page).to have_link("Help with participatory budgets")
end
expect(page).to have_content("Actual phase")
expect(page).to have_content("Information")
within(".budget-subheader") do
expect(page).to have_content "Current phase"
expect(page).to have_content "Information"
end
budget.update!(phase: "publishing_prices")
visit budgets_path