diff --git a/config/locales/en.yml b/config/locales/en.yml index d658f5474..67a805059 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -311,7 +311,6 @@ en: all: "You are not authorized to %{action} %{subject}." welcome: signed_in_home_title: Recent activity - signed_in_home_title: Actividad reciente debates: title: "Debate" description: "Meet, discuss and share what we think is important in our city." From 7d8f1f262926c4b438ee4bb178277b32900e971b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baz=C3=A1n?= Date: Mon, 28 Sep 2015 13:51:17 +0200 Subject: [PATCH 5/6] adds title for public devise views --- app/views/devise/confirmations/new.html.erb | 1 + app/views/devise/passwords/new.html.erb | 1 + app/views/devise/sessions/new.html.erb | 1 + app/views/organizations/registrations/new.html.erb | 1 + app/views/users/registrations/new.html.erb | 1 + 5 files changed, 5 insertions(+) diff --git a/app/views/devise/confirmations/new.html.erb b/app/views/devise/confirmations/new.html.erb index b815288b2..722609134 100644 --- a/app/views/devise/confirmations/new.html.erb +++ b/app/views/devise/confirmations/new.html.erb @@ -1,3 +1,4 @@ +<% provide :title do %><%= t("devise_views.confirmations.title") %><% end %>

<%= t("devise_views.confirmations.title") %>

<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %> diff --git a/app/views/devise/passwords/new.html.erb b/app/views/devise/passwords/new.html.erb index e433c0477..c82774991 100644 --- a/app/views/devise/passwords/new.html.erb +++ b/app/views/devise/passwords/new.html.erb @@ -1,3 +1,4 @@ +<% provide :title do %><%= t("devise_views.passwords.new.title") %><% end %>

<%= t("devise_views.passwords.new.title") %>

<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %> <%= render 'shared/errors', resource: resource %> diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb index f1df8e1cc..1b8ab15bc 100644 --- a/app/views/devise/sessions/new.html.erb +++ b/app/views/devise/sessions/new.html.erb @@ -1,3 +1,4 @@ +<% provide :title do %><%= t("devise_views.sessions.new.title") %><% end %>

<%= t("devise_views.sessions.new.title") %>

<%# render 'devise/omniauth_form' %> diff --git a/app/views/organizations/registrations/new.html.erb b/app/views/organizations/registrations/new.html.erb index 5c3b1097d..aa340bd24 100644 --- a/app/views/organizations/registrations/new.html.erb +++ b/app/views/organizations/registrations/new.html.erb @@ -1,3 +1,4 @@ +<% provide :title do %><%= t("devise_views.organizations.registrations.new.title") %><% end %>

<%= t("devise_views.organizations.registrations.new.title") %>

<%= form_for(resource, as: :user, url: organization_registration_path) do |f| %> diff --git a/app/views/users/registrations/new.html.erb b/app/views/users/registrations/new.html.erb index 5d676e288..8d2d9f919 100644 --- a/app/views/users/registrations/new.html.erb +++ b/app/views/users/registrations/new.html.erb @@ -1,3 +1,4 @@ +<% provide :title do %><%= t("devise_views.users.registrations.new.title") %><% end %>

<%= t("devise_views.users.registrations.new.title") %>

<%# render 'devise/omniauth_form' %> From 44938e278923c1758673e8bea164e38e765faa46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baz=C3=A1n?= Date: Mon, 28 Sep 2015 14:01:26 +0200 Subject: [PATCH 6/6] adds title to accessibility page --- app/views/pages/accessibility.html.erb | 1 + config/locales/pages.en.yml | 1 + config/locales/pages.es.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/app/views/pages/accessibility.html.erb b/app/views/pages/accessibility.html.erb index bf6ae6187..e36d16d55 100644 --- a/app/views/pages/accessibility.html.erb +++ b/app/views/pages/accessibility.html.erb @@ -1,3 +1,4 @@ +<% provide :title do %><%= t('pages.titles.accessibility') %><% end %>
diff --git a/config/locales/pages.en.yml b/config/locales/pages.en.yml index 1c670b314..051217223 100644 --- a/config/locales/pages.en.yml +++ b/config/locales/pages.en.yml @@ -6,6 +6,7 @@ en: transparency: "Transparency" opendata: "Open Data" conditions: "Terms of use" + accessibility: "Accessibility" conditions: "Terms of use" privacy: diff --git a/config/locales/pages.es.yml b/config/locales/pages.es.yml index 8abf49953..e1068f4ed 100644 --- a/config/locales/pages.es.yml +++ b/config/locales/pages.es.yml @@ -6,6 +6,7 @@ es: transparency: "Transparencia" opendata: "Datos abiertos" conditions: "Condiciones de uso" + accessibility: "Accesibilidad" conditions: "Condiciones de uso" privacy: