mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
This reverses the policy that was set, but incompletely enforced, by
commit 951514dd7d
. The self-closing tag
syntax is clearer, more consistent, simpler to parse, compatible with
XML, preferred by Prettier, and (most importantly now) required by
FormatJS.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
48 lines
1.7 KiB
HTML
48 lines
1.7 KiB
HTML
{% extends "zerver/emails/compiled/email_base_default.html" %}
|
|
|
|
{% block preheader %}
|
|
{% trans organization_url=realm_uri %}Organization: {{ organization_url }} Time: {{ login_time }} Email: {{ user_email }}{% endtrans %}
|
|
{% endblock %}
|
|
|
|
{% block illustration %}
|
|
<img src="{{ email_images_base_uri }}/email_logo.png" alt=""/>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<p>{{ _("We noticed a recent login for the following Zulip account.") }}</p>
|
|
<p>
|
|
<ul>
|
|
<li>
|
|
{% trans organization_link=macros.link_tag(realm_uri) %}Organization: {{ organization_link }}{% endtrans %}
|
|
</li>
|
|
<li>
|
|
{% trans user_email=macros.email_tag(user_email) %}Email: {{ user_email }}{% endtrans %}
|
|
</li>
|
|
<li>
|
|
{% trans %}Time: {{ login_time }}{% endtrans %}
|
|
</li>
|
|
<li>
|
|
{% trans %}Device: {{ device_browser }} on {{ device_os }}.{% endtrans %}
|
|
</li>
|
|
<li>
|
|
{% trans %}IP address: {{ device_ip }}{% endtrans %}
|
|
</li>
|
|
</ul>
|
|
</p>
|
|
|
|
<p>{{ _("If this was you, great! There's nothing else you need to do.") }}</p>
|
|
|
|
<p>
|
|
{% trans support_email=macros.email_tag(support_email), reset_link=realm_uri + "/accounts/password/reset/" %}If you do not recognize this login, or think your account may have been compromised, please <a href="{{ reset_link }}">reset your password</a> or contact us immediately at {{ support_email }}.{% endtrans %}
|
|
</p>
|
|
|
|
<p>
|
|
{{ _("Thanks,") }}<br />
|
|
{{ _("Zulip Security") }}
|
|
</p>
|
|
{% endblock %}
|
|
|
|
{% block manage_preferences %}
|
|
<p><a href="{{ realm_uri }}/#settings/notifications">{{ _("Manage email preferences") }}</a> | <a href="{{ unsubscribe_link }}">{{ _("Unsubscribe from login notifications") }}</a></p>
|
|
{% endblock %}
|