mirror of
https://github.com/ae-utbm/sith3.git
synced 2024-07-21 12:44:37 +00:00
25 lines
601 B
Django/Jinja
25 lines
601 B
Django/Jinja
{% extends "core/base.jinja" %}
|
|
|
|
{% block title %}
|
|
{% trans %}Notification list{% endtrans %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h3>{% trans %}Notification list{% endtrans %}</h3>
|
|
<ul id="notifications">
|
|
{% for n in notification_list %}
|
|
{% if n.viewed %}
|
|
<li>
|
|
{% else %}
|
|
<li style="background: lightgrey;">
|
|
{% endif %}
|
|
<a href="{{ url("core:notification", notif_id=n.id) }}">
|
|
<span style="font-size: small; ">{{ n.date|date(DATE_FORMAT) }} {{
|
|
n.date|time(DATETIME_FORMAT) }}</span><br>
|
|
{{ n }}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock %}
|
|
|