{% extends 'studenteval/base_studenteval.html' %}
{% load i18n admin_urls jazzmin %}
{% get_jazzmin_ui_tweaks as jazzmin_ui %}

{% block title %}Liste des évaluations{% endblock %}

{% block url_nav %}
    <li>
        <a href="{% url  'studenteval:export_pdf_all' uuid %}?dtDate__range__gte={{ dtDate__range__gte }}&dtDate__range__lte={{ dtDate__range__lte }}" class="nav-link" target="_self">Imprimer liste PDF</a>
    </li>
    <li>
        <a href="#" onClick="javascript:history.go(-2);" class="nav-link">{% trans "Retour" %}</a>
    </li>
{% endblock %}
{% block cl_content %}
    <div class="row">
        <div class="col">
            {% if object_list %}
                {% for obj in my_objects %}
                    {% include 'studenteval/cl_student_eval.html' with object=obj %}
                    {% if not forloop.last %}
                        <hr>{% endif %}
                {% endfor %}
            {% else %}
                <p>There is no post.</p>
            {% endif %}
        </div>
    </div>
{% endblock %}