1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-25 17:42:24 +00:00
plateforme-tfjm2/tfjm/templates/sidebar.html
Emmy D'Anello acd1d80c75
First important informations
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2024-02-11 20:20:28 +01:00

21 lines
748 B
HTML

{% load i18n %}
{% if user.is_authenticated %}
<div class="card">
<div class="card-header bg-dark-subtle">
<h3 class="card-title">{% trans "Informations" %}</h3>
</div>
<div class="card-body">
{% for information in user.registration.important_informations %}
<div class="card my-2">
<div class="card-header bg-dark-subtle">
<h5 class="card-title">{{ information.title }}</h5>
</div>
<div class="card-body bg-{{ information.type }}-subtle">
{{ information.content|safe }}
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}