Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

emails: Use link tag macro for realm uri in password reset email.

Vishnu KS0853c866a9f6
diff --git a/templates/zerver/emails/password_reset.source.html b/templates/zerver/emails/password_reset.source.html
index 3919820f2b3..f8f8f493388 100644
--- a/templates/zerver/emails/password_reset.source.html
+++ b/templates/zerver/emails/password_reset.source.html
@@ -6,7 +6,7 @@
{% block content %}
<p>
- {% trans email=macros.email_tag(email) %}Somebody (possibly you) requested a new password for the Zulip account {{ email }} on {{ realm_uri }}.{% endtrans %}
+ {% trans email=macros.email_tag(email), realm_uri=macros.link_tag(realm_uri) %}Somebody (possibly you) requested a new password for the Zulip account {{ email }} on {{ realm_uri }}.{% endtrans %}
</p>
{% if active_account_in_realm %}
<p>
@@ -16,7 +16,7 @@
{% else %}
<p>
{% if user_deactivated %}
- {% trans %}You previously had an account on {{ realm_uri }}, but it has been deactivated. You can contact an organization administrator to <a href="{{ realm_uri }}/help/deactivate-or-reactivate-a-user">reactivate your account</a>.{% endtrans %}
+ {% trans organization_url=macros.link_tag(realm_uri) %}You previously had an account on {{ organization_url }}, but it has been deactivated. You can contact an organization administrator to <a href="{{ realm_uri }}/help/deactivate-or-reactivate-a-user">reactivate your account</a>.{% endtrans %}
{% else %}
{% trans %}You do not have an account in that Zulip organization.{% endtrans %}
{% endif %}