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