Update wording (#1163)

* rename file

* update wording when adding mailbox

* rename
This commit is contained in:
Son Nguyen Kim 2022-07-17 15:02:17 +02:00 committed by GitHub
parent 2837350204
commit 36547bd82d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 4 deletions

View File

@ -164,9 +164,9 @@ def send_verification_email(user, mailbox):
) )
send_email( send_email(
mailbox.email, mailbox.email,
f"Please confirm your email {mailbox.email}", f"Please confirm your mailbox {mailbox.email}",
render( render(
"transactional/verify-mailbox.txt", "transactional/verify-mailbox.txt.jinja2",
user=user, user=user,
link=verification_url, link=verification_url,
mailbox_email=mailbox.email, mailbox_email=mailbox.email,

View File

@ -208,7 +208,7 @@ def verify_mailbox_change(user, mailbox, new_email):
new_email, new_email,
"Confirm mailbox change on SimpleLogin", "Confirm mailbox change on SimpleLogin",
render( render(
"transactional/verify-mailbox-change.txt", "transactional/verify-mailbox-change.txt.jinja2",
user=user, user=user,
link=verification_url, link=verification_url,
mailbox_email=mailbox.email, mailbox_email=mailbox.email,

View File

@ -5,7 +5,7 @@
{{ render_text("Hi") }} {{ render_text("Hi") }}
{{ render_text("You have added <b>"+ mailbox_email +"</b> as an additional mailbox.") }} {{ render_text("You have added <b>"+ mailbox_email +"</b> as an additional mailbox.") }}
{{ render_text("To confirm, please click on the button below.") }} {{ render_text("To confirm, please click on the button below.") }}
{{ render_button("Confirm email", link) }} {{ render_button("Confirm mailbox", link) }}
{{ render_text('Thanks, {{ render_text('Thanks,
<br /> <br />
SimpleLogin Team.') }} SimpleLogin Team.') }}