{% extends "base.html" %} {% from "_event.html" import event_row with context %} {#- One day of the calendar (#44): a real page, and the body of the dialog /calendar opens (calendar.js fetches this URL and lifts #daysheet-body โ€” so it works with no script, and the page and the dialog cannot drift apart). ๐Ÿ”ด Every row is _event.html's event_row, the Log's own โ€” so a hidden lock's rules (their words on a change to your running hidden lock, masked; a hidden base, never printed) hold here for free, and are tested here because a new surface is where they leak. -#} {% block title %}{{ sheet.label }} ยท {{ app_name }}{% endblock %} {% block body %}

๐Ÿ“… {{ sheet.label }}{% if sheet.today %} today{% endif %}

โ† {{ sheet.prev_label }} ๐Ÿ“… {{ sheet.month_label }} {% if sheet.next %}{{ sheet.next_label }} โ†’ {% else %}{{ sheet.next_label }} โ†’{% endif %}
{% for g in sheet.groups %}{% set a = g.activity %}

{{ a.icon }} {{ a.title }} {{ g.events|length }}ร—{% if g.late %} ยท โ†ถ logged later{% endif %}

{% else %}

{%- if sheet.future %}That day hasn't happened yet.{% else %}Nothing on the calendar that day.{% endif %}

{% endfor %} {% if sheet.n_log %}

All {{ sheet.n_log }} event{{ 's' if sheet.n_log != 1 }} in the Log that day โ†’

{% endif %}
{% endblock %}