{% for color, description in component.caption.items() %}
{{ description }}
{% endfor %}
{% endif %}
{% for month, calendar, details, visible in component.calendars %}
{{ month }}
{% for line in calendar %}
{% if loop.first %}
{% for item in line %}
{{ item }}
{% endfor %}
{% else %}
{% for item in line %}
{{ item.0 }}
{% endfor %}
{% endif %}
{% endfor %}
{% for description, days in details.items() %}
{{ description }}:
{% for day in days %}
{% if loop.first or loop.last %}
{% if loop.last and not loop.first %} - {% endif %}
{{ day }}
{% endif %}
{% endfor %}