diff --git a/app/views/mailer/user_invites.html.erb b/app/views/mailer/user_invites.html.erb new file mode 100644 index 000000000..3510a6c88 --- /dev/null +++ b/app/views/mailer/user_invites.html.erb @@ -0,0 +1,22 @@ + +

+ <%= t('mailers.user_invites.title', + org: Setting['org_name']) %> +

+ +

+ <%= t('mailers.user_invites.text') %> +

+ +

+ <%= link_to t('mailers.user_invites.button'), new_user_registration_path, style: "font-family: 'Open Sans','Helvetica Neue',arial,sans-serif; background: #004A83; border-radius: 6px; color: #fff !important; font-weight: bold; margin: 0px; padding: 10px 15px; text-align: center; text-decoration: none; min-width: 160px; display: inline-block; margin-left: 12px;" %> +

+ +

+ <%= t('mailers.user_invites.ignore') %> +

+ +

+ <%= t('mailers.user_invites.thanks') %> +

+ diff --git a/config/locales/mailers.en.yml b/config/locales/mailers.en.yml index 17e3f6cf8..e17ccc68b 100755 --- a/config/locales/mailers.en.yml +++ b/config/locales/mailers.en.yml @@ -45,4 +45,10 @@ en: unsubscribe_account: My account direct_message_for_sender: subject: "You have send a new private message" - title_html: "You have send a new private message to %{receiver} with the content:" \ No newline at end of file + title_html: "You have send a new private message to %{receiver} with the content:" + user_invites: + ignore: "Please, if you have not requested this invite ignore this email." + text: "To start participating complete your registration in the Open Government Portal of the Madrid City Council." + thanks: "Thank you very much." + title: "Complete your registration in %{org}" + button: Complete registration \ No newline at end of file diff --git a/config/locales/mailers.es.yml b/config/locales/mailers.es.yml index 2a7a85013..48eade29f 100644 --- a/config/locales/mailers.es.yml +++ b/config/locales/mailers.es.yml @@ -45,4 +45,10 @@ es: unsubscribe_account: Mi cuenta direct_message_for_sender: subject: "Has enviado un nuevo mensaje privado" - title_html: "Has enviado un nuevo mensaje privado a %{receiver} con el siguiente contenido:" \ No newline at end of file + title_html: "Has enviado un nuevo mensaje privado a %{receiver} con el siguiente contenido:" + user_invites: + ignore: "Por favor, si no has solicitado esta invitación ignora este email." + text: "Para empezar a participar completa tu registro en el Portal de Gobierno Abierto del Ayuntamiento de Madrid." + thanks: "Muchas gracias." + title: "Completa tu registro en %{org}" + button: Completar registro \ No newline at end of file