Add max_days query parameter

This commit is contained in:
2022-11-21 11:44:38 +01:00
parent 3dc8a7f232
commit 42153f2e27
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
{% if max_days %}
{% set grouped_events = grouped_events[:max_days] %}
{% endif %}
{% for start_date, events in grouped_events %}
<div class="calendar-date">
<div class="calendar-date-date">