{% extends 'base.html' %} {% block title %}Agenda · {{ title }}{% endblock %} {% block content %}
Agenda

{{ title }}

‹ {% if month.strftime('%Y-%m') != this_month %}Vandaag{% endif %} › Nieuwe afspraak
{% macro item(i) %} {%- if i.kind == 'task' %}☐ {% elif not i.all_day %}{{ i.start.strftime('%H:%M') }}{% endif -%} {{ i.title }}{% if i.repeats %} ↻{% endif %} {% endmacro %}
{% for d in DAYS %}{% endfor %} {% for week in weeks %} {% for d in week %} {% endfor %} {% endfor %}
{{ d }}
{{ d.day }} {% for i in by_day.get(d, []) %}{{ item(i) }}{% endfor %}
{% set ns = namespace(any=false) %} {% for week in weeks %}{% for d in week if d.month == month.month and by_day.get(d) %} {% set ns.any = true %}
{{ d.day }}{{ DAYS[d.weekday()] }}
{% for i in by_day[d] %}{{ item(i) }}{% endfor %}
{% endfor %}{% endfor %} {% if not ns.any %}

Geen afspraken of taken in {{ title|lower }}.

{% endif %}
{% if who == 'all' and USERS|length > 1 %}
{% for u in USERS %}{{ u.name }}{% endfor %}☐ taak
{% endif %}

Je eigen agenda op je telefoon of computer? Zie Mijn account › Agenda koppelen.

{% endblock %}