Plume/templates/notifications/index.html.tera

22 lines
701 B
Plaintext
Raw Normal View History

2018-05-13 15:35:55 +02:00
{% extends "base" %}
{% import "macros" as macros %}
2018-05-13 15:35:55 +02:00
{% block title %}
2018-06-17 17:26:15 +02:00
{{ "Notifications" | _ }}
2018-05-13 15:35:55 +02:00
{% endblock title %}
{% block content %}
2018-06-17 17:26:15 +02:00
<h1>{{ "Notifications" | _ }}</h1>
<div class="list">
2018-05-13 15:35:55 +02:00
{% for notification in notifications %}
<div class="card">
<h3><a href="{% if notification.link %}{{ notification.link }}/{% else %}#{% endif %}">{{ notification.title | _(data=notification.data) }}</a></h3>
2018-05-13 15:35:55 +02:00
{% if notification.content %}
<p>{{ notification.content }}</p>
{% endif %}
</div>
{% endfor %}
</div>
{{ macros::paginate(page=page, total=n_pages) }}
2018-05-13 15:35:55 +02:00
{% endblock content %}