24 lines
635 B
HTML
24 lines
635 B
HTML
{% load i18n %}
|
|
{% block cell-content %}
|
|
<h2>{% trans "Notifications" %}</h2>
|
|
{% if notifications %}
|
|
<ul>
|
|
{% for notification in notifications %}
|
|
<li class="combo-notification {% if notification.acked %}combo-notification-acked{% endif %}"
|
|
data-combo-notification-id="{{ notification.public_id }}">
|
|
<a href="{{ notification.url|default:"#" }}">{{ notification.summary }}</a>
|
|
{% if notification.body %}
|
|
<div class="description">
|
|
{{ notification.body|linebreaks }}
|
|
</div>
|
|
{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% else %}
|
|
<div>
|
|
<p>{% trans 'No notifications.' %}</p>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|