{% extends "base.html" %} {% block title %}Wochenplan | Nouri{% endblock %} {% block content %}

Wochenplan

Struktur fuer die naechsten Tage

Der Plan bleibt bewusst leichtgewichtig. Vorhandene Dinge tauchen in der Auswahl zuerst auf.

Vorige Woche {{ days[0].strftime('%d.%m.') }} bis {{ days[-1].strftime('%d.%m.%Y') }} Naechste Woche
{{ csrf_input() }}
{% for daypart in dayparts %}
{{ daypart.name }}
{% for day in days %}
{{ day.strftime('%a %d.%m.') }}
{% set slot_entries = entries.get((day.isoformat(), daypart.id), []) %} {% if slot_entries %}
{% for entry in slot_entries %}
{{ entry.item_name }} {{ item_kind_labels[entry.item_kind] }} {% if entry.note %}

{{ entry.note }}

{% endif %}
{{ csrf_input() }}
{% endfor %}
{% else %}

frei

{% endif %}
{% endfor %}
{% endfor %}
{% endblock %}