Display notifications

This commit is contained in:
Bat
2018-05-13 14:35:55 +01:00
parent 726c2c7e82
commit b91f567777
5 changed files with 43 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
{% extends "base" %}
{% block title %}
Notifications
{% endblock title %}
{% block content %}
<h1>Notifications</h1>
<div>
{% for notification in notifications %}
<div>
<h3><a href="{% if notification.link %}{{ notification.link }}{% else %}#{% endif %}">{{ notification.title }}</h3>
{% if notification.content %}
<p>{{ notification.content }}</p>
{% endif %}
</div>
{% endfor %}
</div>
{% endblock content %}