2024-02-11 17:43:23 +00:00
|
|
|
{% load i18n %}
|
|
|
|
|
2024-02-11 18:21:27 +00:00
|
|
|
{% if user.is_authenticated %}
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header bg-dark-subtle">
|
|
|
|
<h3 class="card-title">{% trans "Informations" %}</h3>
|
2024-02-11 17:43:23 +00:00
|
|
|
</div>
|
2024-02-11 18:21:27 +00:00
|
|
|
<div class="card-body">
|
|
|
|
{% for information in user.registration.important_informations %}
|
2024-02-11 19:20:28 +00:00
|
|
|
<div class="card my-2">
|
2024-02-11 18:21:27 +00:00
|
|
|
<div class="card-header bg-dark-subtle">
|
2024-02-11 19:20:28 +00:00
|
|
|
<h5 class="card-title">{{ information.title }}</h5>
|
2024-02-11 18:21:27 +00:00
|
|
|
</div>
|
2024-02-11 19:20:28 +00:00
|
|
|
<div class="card-body bg-{{ information.type }}-subtle">
|
2024-02-11 18:21:27 +00:00
|
|
|
{{ information.content|safe }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|