zulip/templates/zerver/emails/password_reset.source.html

47 lines
1.6 KiB
HTML

{% extends "zerver/emails/compiled/email_base_default.html" %}
{% block content %}
{% if active_account_in_realm %}
<p>
{% trans %}Psst. Word on the street is that you need a new password, {{ email }}.{% endtrans %}<br />
{{ _("It's all good. Click here and we'll take care of the rest") }}:<br />
<a class="button" href="{{ reset_url }}">{{ _("Reset password") }}</a>
</p>
{% else %}
<p>
{% if user_deactivated %}
{% trans %}
Someone (possibly you) requested a password reset email for {{ email }}
on {{ realm_uri }}, but your account has been deactivated. You can contact
an organization administrator to reactivate your account.
{% endtrans %}
{% else %}
{% trans %}
Someone (possibly you) requested a password reset email for {{ email }}
on {{ realm_uri }}, but you do not have an account in that organization.
{% endtrans %}
{% endif %}
</p>
<p>
{% if active_accounts_in_other_realms %}
{{ _("You do have active accounts in the following organization(s).") }}
<ul>
{% for active_account in active_accounts_in_other_realms %}
<li>{{ active_account.realm.uri }}</li>
{% endfor %}
</ul>
{% trans %}
You can try logging in or resetting your password in the organization(s)
above.
{% endtrans %}
{% endif %}
</p>
{% endif %}
<p>
{{ _("Thanks,") }}<br />
{{ _("Your friends at Zulip HQ") }}
</p>
{% endblock %}