Unify "current phase" text
We were using "actual phase" and then "current phase" right below it.
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user