{% load vantage i18n %}{% comment %} The month grid. A real : seven columns with weekday headers is tabular data, and a screen reader then announces "Wednesday, 14" as it moves through it, which no arrangement of divs can be made to do as reliably. Every event is a link to its record. A day with more than a few folds the rest into a
, so the grid keeps its shape however busy one day is, and nothing is hidden from a keyboard or a screen reader — "3 more" is a control, not a tooltip. {% endcomment %}

{{ calendar_title }}

{% if view_field.options %} {% include "vantage/list_views/field_picker.html" %} {% else %} {% blocktranslate with field=calendar_field_label %}by {{ field }}{% endblocktranslate %} {% endif %}
{% if calendar_truncated %}

{% blocktranslate with max=calendar_max %}Showing the first {{ max }} records this month. Narrow the list with a filter to see the rest.{% endblocktranslate %}

{% endif %}
{% for day in calendar_weekdays %} {% endfor %} {% for week in calendar_weeks %} {% for day in week %} {% endfor %} {% endfor %}
{{ panel.get_label_plural }} — {{ calendar_title }}
{{ day.short }}
{% if day.events %} {% if day.overflow %}
{% blocktranslate count counter=day.overflow|length %}{{ counter }} more{% plural %}{{ counter }} more{% endblocktranslate %}
{% endif %} {% endif %}
{% if not calendar_count %}

{% blocktranslate with label=panel.get_label_plural|lower %}No {{ label }} this month.{% endblocktranslate %}

{% endif %}