{% if reports|length > 0 %}

Finished reports

{% for report in reports %} {% endfor %}
Date Lab Accepted Exam
{{ report.appointment.date.date }} {{ report.appointment.experiment.code }} {{ report.date|date:"d/m/Y" }} {% if report.exam is None %} Pending {% else %} Finished {% endif %} {% if labuser.is_student and report.accepts_upload or admin %} {% endif %}
{% if LABCOURSE.STUDENT.CAN_ADD_EXAM and labuser.is_student or admin %} {% if reports_pending >= LABCOURSE.REPORTS_PER_EXAM %}
Add exam
{% endif %} {% endif %} {% endif %}