contentdb/app/templates/emails/notification.html

38 lines
910 B
HTML
Raw Normal View History

2020-12-05 20:15:33 +01:00
{% extends "emails/base.html" %}
{% block content %}
<h2 style="margin-top: 0;">
{% if notification.package %}
{{ _("New notification on package %(package)s", package=notification.package.title) }}
{% else %}
{{ _("New notification") }}
{% endif %}
</h2>
<p><small>{{ _("Triggered by %(username)s", username=notification.causer.display_name) }}</small></p>
<p>
{{ notification.title }}
</p>
<p>
<a class="btn" href="{{ notification.url | abs_url }}">
View Notification
</a>
</p>
2020-12-05 20:52:02 +01:00
{% endblock %}
{% block footer %}
2020-12-05 21:36:09 +01:00
You are receiving this email because you are a registered user of ContentDB,
and have email notifications enabled. <br>
2020-12-05 20:15:33 +01:00
<a href="{{ abs_url_for('users.email_notifications', username=notification.user.username) }}">
2020-12-05 20:52:02 +01:00
{{ _("Manage your preferences") }}
2020-12-05 20:15:33 +01:00
</a>
2020-12-05 21:36:09 +01:00
|
<a href="{{ abs_url_for('users.unsubscribe', token=sub.token) }}">
{{ _("Unsubscribe") }}
</a>
2020-12-05 20:15:33 +01:00
{% endblock %}