From 895c8292abdefb4e2b71134ea0f01b338e580b0c Mon Sep 17 00:00:00 2001 From: decabeza Date: Fri, 30 Jun 2017 14:24:11 +0200 Subject: [PATCH] updates page title --- app/views/budgets/stats/show.html.erb | 2 +- config/locales/en/budgets.yml | 2 +- config/locales/es/budgets.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/budgets/stats/show.html.erb b/app/views/budgets/stats/show.html.erb index 89666053f..bdfd72803 100644 --- a/app/views/budgets/stats/show.html.erb +++ b/app/views/budgets/stats/show.html.erb @@ -1,6 +1,6 @@ <% cache [@stats] do %> <% provide :title do %> - <%= t("budgets.stats.title") %> - <%= @budget.name %> + <%= t("budgets.stats.page_title", budget: @budget.name) %> <% end %> <% provide :social_media_meta_tags do %> <%= render "shared/social_media_meta_tags", diff --git a/config/locales/en/budgets.yml b/config/locales/en/budgets.yml index bdfa3c3cf..fff10aa1c 100644 --- a/config/locales/en/budgets.yml +++ b/config/locales/en/budgets.yml @@ -194,7 +194,7 @@ en: stats: title: Participation stats link: Stats - page_title: "%{budget} - Stats" + page_title: "%{budget} - Participation stats" total_participants: Total Participants total_budget_investments: Total Proposed Investments total_feasible_investments: Proposals on final phase diff --git a/config/locales/es/budgets.yml b/config/locales/es/budgets.yml index 23f0ab491..0e6423c93 100644 --- a/config/locales/es/budgets.yml +++ b/config/locales/es/budgets.yml @@ -194,7 +194,7 @@ es: stats: title: Estadísticas de participación link: Estadísticas - page_title: "%{budget} - Estadísticas" + page_title: "%{budget} - Estadísticas de participación" total_participants: Total participantes total_budget_investments: Total propuestas enviadas total_feasible_investments: Propuestas en la fase final