Plume/templates/notifications/index.tera

20 lines
559 B
Plaintext
Raw Normal View History

2018-05-13 13:35:55 +00:00
{% extends "base" %}
{% block title %}
Notifications
{% endblock title %}
{% block content %}
<h1>Notifications</h1>
<div class="list">
2018-05-13 13:35:55 +00:00
{% for notification in notifications %}
<div class="card">
2018-05-13 13:35:55 +00:00
<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 %}