notifications.html
HTML document, ASCII text
1{% extends "default.html" %} 2{% block title %} 3{% trans %}Notifications{% endtrans %} 4{% endblock %} 5{% block breadcrumbs %} 6<li><a href="/notifications">{% trans %}Notifications{% endtrans %}</a></li> 7{% endblock %} 8{% block content %} 9<x-vbox> 10<x-frame style="--width: 896px;" class="flexible-space"> 11<x-vbox> 12{% if notifications %} 13{% for notification in notifications %} 14<article class="card card-horizontal"> 15<section class="card-main"> 16{{ notification.notification.timestamp | strftime("%A, %e %B %Y, %H:%M:%S") }} 17{% if notification.notification.data["type"] == "welcome" %} 18<h2>{% trans %}Welcome{% endtrans %}</h2> 19{% endif %} 20</section> 21</article> 22{% endfor %} 23{% else %} 24<p>{% trans %}When you get notifications, they'll be shown here.{% endtrans %}</p> 25{% endif %} 26</x-vbox> 27</x-frame> 28</x-vbox> 29{% endblock %} 30