plateforme-tfjm2/tfjm/templates/sidebar.html

21 lines
728 B
HTML
Raw Normal View History

{% 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">
<div class="card-header bg-dark-subtle">
<h4 class="card-title">{{ information.title }}</h4>
</div>
<div class="card-body bg-warning-subtle">
{{ information.content|safe }}
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}