From 3465b00e89d4c927db9a46e13425baedee1c2f22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baz=C3=A1n?= Date: Wed, 4 Nov 2015 13:51:57 +0100 Subject: [PATCH] adds 'My activity' link --- app/views/account/show.html.erb | 7 +++++++ config/locales/en.yml | 1 + config/locales/es.yml | 1 + 3 files changed, 9 insertions(+) diff --git a/app/views/account/show.html.erb b/app/views/account/show.html.erb index 40cf43a59..5acf6eb62 100644 --- a/app/views/account/show.html.erb +++ b/app/views/account/show.html.erb @@ -31,6 +31,13 @@ <% end %> +
+ <%= f.label :public_activity do %> + <%= f.check_box :public_activity, label: false %> + <%= t("account.show.public_activity_label") %> + <% end %> +
+

<%= t("account.show.notifications")%>

diff --git a/config/locales/en.yml b/config/locales/en.yml index 506a13763..52f246518 100755 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -22,6 +22,7 @@ en: "There are cities that are governed directly by their inhabitants, who discuss the topics they are concerned about, propose ideas to improve their lives and decide among themselves which ones will be carried out. Madrid is already one of these cities." see_all: "See proposals" + my_activity_link: "My activity" my_account_link: "My account" locale: "Language:" administration: "Administration" diff --git a/config/locales/es.yml b/config/locales/es.yml index 2fb7b5ccf..df76271c1 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -22,6 +22,7 @@ es: "Existen ciudades gobernadas directamente por sus habitantes, que debaten sobre temas que les preocupan, proponen ideas para mejorar sus vidas y deciden entre todas y todos las que se llevan a cabo. Madrid ya es una de ellas." see_all: "Ver propuestas" + my_activity_link: "Mi actividad" my_account_link: "Mi cuenta" locale: "Idioma:" administration: "Administrar"