{% extends 'layout/layout_1_col.tpl'|get_template %} {% set user_id = student_id == _u.id ? 0 : student_id %} {% block content %} {{ toolbar }} {% if students|length > 0 %}
{% for i in 1..52 %} {% endfor %} {% for student in students %} {% for session in student.sessions %} {% if session.start > 0 %} {% endif %} {% if session.duration + session.start < 52 %} {% endif %} {% endfor %} {% endfor %}
{{ 'Student'|get_lang }} {{ 'Session'|get_lang }}{{ i }}
{% if loop.index0 == 0 %} {{ student.complete_name }} {% endif %} {% if loop.index0 == 0 %} {{ student.sessions | length }} {% endif %}   {{ session.name | e('html') }} - {{ session.human_date }}  
{{ legend }}
{% else %}
{{ 'ThereIsNotStillASession'|get_lang }}
{% endif %} {% endblock %}