diff --git a/emails/registration/en/html.pug b/emails/registration/enUs/html.pug similarity index 100% rename from emails/registration/en/html.pug rename to emails/registration/enUs/html.pug diff --git a/emails/registration/en/subject.pug b/emails/registration/enUs/subject.pug similarity index 100% rename from emails/registration/en/subject.pug rename to emails/registration/enUs/subject.pug diff --git a/emails/registration/es/html.pug b/emails/registration/esEs/html.pug similarity index 100% rename from emails/registration/es/html.pug rename to emails/registration/esEs/html.pug diff --git a/emails/registration/es/subject.pug b/emails/registration/esEs/subject.pug similarity index 100% rename from emails/registration/es/subject.pug rename to emails/registration/esEs/subject.pug diff --git a/emails/registration/it/html.pug b/emails/registration/it/html.pug index a1ef572..e394b6a 100644 --- a/emails/registration/it/html.pug +++ b/emails/registration/it/html.pug @@ -6,5 +6,32 @@ span hai dimenticato la Password? :  strong Trovala qui
span Email:  strong #{emailto}
-p Per confermare la registrazione Clicca qui per confermare +p Per confermare la registrazione clicca sul bottone: +div.divbtn + button.btn.btn-lg Verify Registration + p Potrai cosi' accedere al sito digitando i tuoi dati di accesso. + + +style(type="text/css"). + html, body { + padding: 0; + margin: 0; + } + + .divbtn { + display: flex; + align-items: center; + justify-content: center; + } + + .btn-lg { + padding: 5px; + margin: 5px; + font-size: 26px; + cursor: pointer; + color: white; + background: #027be3 !important; + border-radius: 28px; + + } diff --git a/server/router/users_router.js b/server/router/users_router.js index 5b2e1cb..566555d 100644 --- a/server/router/users_router.js +++ b/server/router/users_router.js @@ -63,7 +63,7 @@ router.post('/', (req, res) => { // tools.mylog('process.env.TESTING_ON', process.env.TESTING_ON); console.log('res.locale', res.locale); if (!tools.testing()) { - sendemail.sendEmail_Registration(res.locale, user.email, user.username, user.idapp, user.linkreg); + sendemail.sendEmail_Registration(user.lang, user.email, user.username, user.idapp, user.linkreg); } });