mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
The alt text of the leading images were displayed as preview content in inbox by email clients like gmail. Since the leading images were used mostly for decoration this made the preview content gibberish. It's fine to set the alt attributes to empty from accessibility point of view since the old alt attributes did't added any meaningful information.
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: <a href="{{ realm_uri }}" target="_blank">{{ realm_uri }}</a>{% endtrans %}
|
|
</li>
|
|
<li>
|
|
{% trans %}Email: <a href="mailto:{{ user_email }}" target="_blank">{{ user_email }}</a>{% 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 %}If you do not recognize this login, or think your account may have been compromised, please <a href="{{ realm_uri }}/accounts/password/reset/" target="_blank">reset your password</a> or contact us immediately at <a href="mailto:{{ support_email }}">{{ support_email }}</a>.{% 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 %}
|