emails: Use macros for email tags in notify new login email.

This commit is contained in:
Vishnu KS 2020-10-23 19:43:20 +05:30 committed by Tim Abbott
parent 3bac784590
commit 01a92abf12
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
{% trans %}Organization: <a href="{{ realm_uri }}">{{ realm_uri }}</a>{% endtrans %}
</li>
<li>
{% trans %}Email: <a href="mailto:{{ user_email }}">{{ user_email }}</a>{% endtrans %}
{% trans user_email=macros.email_tag(user_email) %}Email: {{ user_email }}{% endtrans %}
</li>
<li>
{% trans %}Time: {{ login_time }}{% endtrans %}
@ -33,7 +33,7 @@
<p>{{ _("If this was you, great! There's nothing else you need to do.") }}</p>
<p>
{% trans %}If you do not recognize this login, or think your account may have been compromised, please <a href="{{ realm_uri }}/accounts/password/reset/">reset your password</a> or contact us immediately at <a href="mailto:{{ support_email }}">{{ support_email }}</a>.{% endtrans %}
{% trans support_email=macros.email_tag(support_email) %}If you do not recognize this login, or think your account may have been compromised, please <a href="{{ realm_uri }}/accounts/password/reset/">reset your password</a> or contact us immediately at {{ support_email }}.{% endtrans %}
</p>
<p>