Skip to content

Commit 36547bd

Browse files
authored
Update wording (simple-login#1163)
* rename file * update wording when adding mailbox * rename
1 parent 2837350 commit 36547bd

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

app/dashboard/views/mailbox.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ def send_verification_email(user, mailbox):
164164
)
165165
send_email(
166166
mailbox.email,
167-
f"Please confirm your email {mailbox.email}",
167+
f"Please confirm your mailbox {mailbox.email}",
168168
render(
169-
"transactional/verify-mailbox.txt",
169+
"transactional/verify-mailbox.txt.jinja2",
170170
user=user,
171171
link=verification_url,
172172
mailbox_email=mailbox.email,

app/dashboard/views/mailbox_detail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def verify_mailbox_change(user, mailbox, new_email):
208208
new_email,
209209
"Confirm mailbox change on SimpleLogin",
210210
render(
211-
"transactional/verify-mailbox-change.txt",
211+
"transactional/verify-mailbox-change.txt.jinja2",
212212
user=user,
213213
link=verification_url,
214214
mailbox_email=mailbox.email,

templates/emails/transactional/verify-mailbox.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{{ render_text("Hi") }}
66
{{ render_text("You have added <b>"+ mailbox_email +"</b> as an additional mailbox.") }}
77
{{ render_text("To confirm, please click on the button below.") }}
8-
{{ render_button("Confirm email", link) }}
8+
{{ render_button("Confirm mailbox", link) }}
99
{{ render_text('Thanks,
1010
<br />
1111
SimpleLogin Team.') }}

0 commit comments

Comments
 (0)