Changes message when the user is created by managers

This commit is contained in:
kikito
2015-10-08 15:20:06 +02:00
parent 10de596a94
commit ffe06729c1
3 changed files with 7 additions and 9 deletions

View File

@@ -1,8 +1,6 @@
<%= render 'management/account_info.html', account: @user %>
<p><%= t("management.users.create_user_success_html",
link: link_to("http://decide.madrid.es", "http://decide.madrid.es", target: "_blank")) %>
</p>
<p><%= t("management.users.create_user_success_html", email: @user.email) %></p>
<%= render 'management/user_permissions',
message: t("management.document_verifications.in_census_has_following_permissions"),

View File

@@ -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 <b>'My account / Change access data'</b> section"
"We have sent an email to the email address <b>%{email}</b> 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"

View File

@@ -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 <b>'Mi cuenta'</b> y haga clic en el botón <b>'Cambiar datos de acceso'</b>"
"Hemos enviado un correo electrónico a <b>%{email}</b> 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."