Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
emails: Pass help link as variable in password reset email.
Vishnu KSff754ee528f5
diff --git a/templates/zerver/emails/password_reset.source.html b/templates/zerver/emails/password_reset.source.htmlindex f8f8f493388..a2aae3c8fb3 100644--- a/templates/zerver/emails/password_reset.source.html+++ b/templates/zerver/emails/password_reset.source.html@@ -16,7 +16,7 @@{% else %}<p>{% if user_deactivated %}- {% 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 %}+ {% trans organization_url=macros.link_tag(realm_uri), help_link=realm_uri + "/help/deactivate-or-reactivate-a-user" %}You previously had an account on {{ organization_url }}, but it has been deactivated. You can contact an organization administrator to <a href="{{ help_link }}">reactivate your account</a>.{% endtrans %}{% else %}{% trans %}You do not have an account in that Zulip organization.{% endtrans %}{% endif %}diff --git a/templates/zerver/emails/password_reset.txt b/templates/zerver/emails/password_reset.txtindex 987908a62bd..cdbb35be254 100644--- a/templates/zerver/emails/password_reset.txt+++ b/templates/zerver/emails/password_reset.txt@@ -10,6 +10,7 @@ Somebody (possibly you) requested a new password for the Zulip account {{ email{% trans -%}You previously had an account on {{ realm_uri }}, but it has been deactivated. You can contact an organization administrator to reactivate your account.{%- endtrans %}+{{ realm_uri }}/help/deactivate-or-reactivate-a-user{% else %}{% trans -%}You do not have an account in that Zulip organization.