mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 17:42:24 +00:00
acd1d80c75
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
21 lines
748 B
HTML
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 %} |