Plume/templates/notifications/index.tera
Trinity Pointard a8aeb40b95 add trailing slashes to links where they were missing
Signed-off-by: Trinity Pointard <trinity.pointard@insa-rennes.fr>
2018-05-22 17:35:16 +02:00

19 lines
560 B
Text

{% extends "base" %}
{% block title %}
Notifications
{% endblock title %}
{% block content %}
<h1>Notifications</h1>
<div class="list">
{% for notification in notifications %}
<div class="card">
<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 %}