mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-14 11:33:51 +01:00
24 lines
567 B
HTML
24 lines
567 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
Notifications
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if current_user.notifications %}
|
|
<form method="post" action="{{ url_for('notifications.clear') }}">
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
|
<input type="submit" value="Clear All" />
|
|
</form>
|
|
{% endif %}
|
|
<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 %}
|