{% include 'partials/header.html' %} Stundenplan {{ el }} {# Show print button not in same row as smart plan if user is not on mobile #} print {% if smart %} {# Show if smart #} {# Toggle button to regular and smart plan badge #} SMART PLAN slideshow Regelplan anzeigen SMART PLAN slideshow Regelplan anzeigen {# Show print button in same row as smart plan if user is on mobile #} print {# Week select #} navigate_before {% for week in weeks %} KW {{ week.calendar_week }} ({{ week.first_day|date:"j.n" }}–{{ week.last_day|date:"j.n" }}) {% endfor %} {% for week in weeks %} KW {{ week.calendar_week }} ({{ week.first_day|date:"j.n.Y" }}–{{ week.last_day|date:"j.n.Y" }}) {% endfor %} {% for week in weeks %} KW {{ week.calendar_week }} ({{ week.first_day|date:"j.n" }}–{{ week.last_day|date:"j.n.Y" }}) {% endfor %} navigate_next {% else %} {# Show if regular #} slideshow SMART PLAN ANZEIGEN {% endif %} {# show full timetable on tablets, laptops and pcs #} {# Week days #} {# Show short weekdays on tablets #} {% for short_week_day in short_week_days %} {{ short_week_day }} {% endfor %} {# Show long weekdays elsewere #} {% for long_week_day in long_week_days %} {{ long_week_day.0 }} {% endfor %} {# Lessons #} {% for row, time in plan %} {# Lesson number #} {{ time.number_format }} {# Time dimension of lesson #} {{ time.start|date:"H:i" }} {{ time.end|date:"H:i" }} {% for col in row %} {# A lesson #} {% include "timetable/lesson.html" %} {% endfor %} {% endfor %} {# show 5 seperate ones on mobiles #} {% for long_week_day in long_week_days %} {{ long_week_day.0 }} {% for row, time in plan %} {# Lesson number #} {{ time.number_format }} {# Time dimension of lesson #} {{ time.start|date:"H:i" }} {{ time.end|date:"H:i" }} {% for col in row %} {% if forloop.counter0 == long_week_day.1 %} {# A lesson #} {% include "timetable/lesson.html" %} {% endif %} {% endfor %} {% endfor %} {% endfor %} {% include 'partials/footer.html' %}
SMART PLAN