Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion templates/emails/recovery.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@
border-radius: 2rem;
text-decoration: none;
">{{ _("mas.emails.recovery.create_new_password") }}</a><br />
<br />
<p style="font-size: 14px; font-size: 0.875rem;">
{{ _("mas.emails.recovery.fallback") }} {{ _("mas.emails.recovery.copy_link") }}
</p>
<p style="font-size: 14px; font-size: 0.875rem;">
<a href="{{ recovery_link }}" target="_blank">{{ recovery_link }}</a>
</p>
{{ _("mas.emails.recovery.you_can_ignore") }}
</body>
</html>
8 changes: 6 additions & 2 deletions translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,16 @@
},
"copy_link": "Copy the following link and paste it into a browser to create a new password:",
"@copy_link": {
"context": "emails/recovery.txt:12:3-37"
"context": "emails/recovery.html:45:49-83, emails/recovery.txt:12:3-37"
},
"create_new_password": "Create new password",
"@create_new_password": {
"context": "emails/recovery.html:43:9-53"
},
"fallback": "The button doesn't work for you?",
"@fallback": {
"context": "emails/recovery.html:45:9-42"
},
"headline": "You requested a password reset for your %(server_name)s account.",
"@headline": {
"context": "emails/recovery.html:26:7-74, emails/recovery.txt:10:3-70"
Expand All @@ -303,7 +307,7 @@
},
"you_can_ignore": "If you didn't ask for a new password, you can ignore this email. Your current password will continue to work.",
"@you_can_ignore": {
"context": "emails/recovery.html:45:7-46, emails/recovery.txt:16:3-42"
"context": "emails/recovery.html:50:7-46, emails/recovery.txt:16:3-42"
}
},
"verify": {
Expand Down
Loading