From ffe06729c1fe36aba64942a8eee51626a9e38b80 Mon Sep 17 00:00:00 2001 From: kikito Date: Thu, 8 Oct 2015 15:20:06 +0200 Subject: [PATCH] Changes message when the user is created by managers --- app/views/management/users/show.html.erb | 4 +--- config/locales/management.en.yml | 6 +++--- config/locales/management.es.yml | 6 +++--- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/app/views/management/users/show.html.erb b/app/views/management/users/show.html.erb index ce4257bea..48e563e36 100644 --- a/app/views/management/users/show.html.erb +++ b/app/views/management/users/show.html.erb @@ -1,8 +1,6 @@ <%= render 'management/account_info.html', account: @user %> -

<%= t("management.users.create_user_success_html", - link: link_to("http://decide.madrid.es", "http://decide.madrid.es", target: "_blank")) %> -

+

<%= t("management.users.create_user_success_html", email: @user.email) %>

<%= render 'management/user_permissions', message: t("management.document_verifications.in_census_has_following_permissions"), diff --git a/config/locales/management.en.yml b/config/locales/management.en.yml index 1d7f64a30..b1712018f 100644 --- a/config/locales/management.en.yml +++ b/config/locales/management.en.yml @@ -41,6 +41,6 @@ en: create_user_info: "We will create an account with the following data:" create_user_submit: "Create user" create_user_success_html: - "We have sent an email to the email address used to create the account in order to verify that it belongs to him. - We recommend changing the password on the first login. In order to do that go to %{link} with your user and password, - and enter the 'My account / Change access data' section" + "We have sent an email to the email address %{email} in order to verify that it belongs to this user. + It contains a link they have to click. Then they will have to set their access password before being able + to log in to the website" diff --git a/config/locales/management.es.yml b/config/locales/management.es.yml index ad6550552..48a6881a0 100644 --- a/config/locales/management.es.yml +++ b/config/locales/management.es.yml @@ -42,7 +42,7 @@ es: create_user_info: "Procedemos a crear un usuario con la siguiente información:" create_user_submit: "Crear usuario" create_user_success_html: - "Le hemos mandado un correo electrónico a la dirección de correo anterior para verificar que es suya. - Le recomendamos cambiar la contraseña en su primer uso. Para ello entre en %{link} con su usuario y contraseña, - acceda a la sección 'Mi cuenta' y haga clic en el botón 'Cambiar datos de acceso'" + "Hemos enviado un correo electrónico a %{email} para verificar que es suya. + El correo enviado contiene un link que el usuario deberá pulsar. Entonces podrá seleccionar + una clave de acceso, y entrar en la web de participación."