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

41 lines
1.6 KiB
HTML

{% extends "zerver/emails/compiled/email_base_default.html" %}
{% block illustration %}
<img src="{{ email_images_base_uri }}/email_logo.png" alt="{{ _('Zulip logo') }}"/>
{% endblock %}
{% block content %}
<p>
{% trans %}Somebody (possibly you) requested a new password for the Zulip account {{ email }} on {{ realm_uri }}.{% endtrans %}
</p>
{% if active_account_in_realm %}
<p>
{{ _('Click the button below to reset your password.') }}
<a class="button" href="{{ reset_url }}">{{ _("Reset password") }}</a>
</p>
{% 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 %}
{% else %}
{% trans %}You do not have an account in that Zulip 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>
{% trans %}If you do not recognize this activity, you can safely ignore this email.{% endtrans %}
</p>
{% endblock %}