contentdb/app/templates/notifications/list.html
rubenwardy 4fdafefcd5
Add notifications
Fixes #28
2018-05-13 18:04:07 +01:00

18 lines
321 B
HTML

{% extends "base.html" %}
{% block title %}
Notifications
{% endblock %}
{% block content %}
<ul>
{% for n in current_user.notifications %}
<li><a href="{{ n.url }}">
{{ n.title}} [{{ n.causer.display_name }}]
</a></li>
{% else %}
<li><i>No notifications</i></ul>
{% endfor %}
</ul>
{% endblock %}