{# Frammento calendario: settimane verde/giallo per mese, per ogni attività. #}

Calendario attività

{% if calendario is empty %}

Nessuna attività registrata.

{% else %}

verde = periodo migliore · giallo = periodo medio

{% for c in calendario %}

{{ c.nome }}: {% if c.n == 0 %} nessun periodo impostato {% else %} {% for mese, weeks in c.per_mese %}{{ mesi[mese]|slice(0, 3) }} {%- for w in weeks %} {{ w.numero }}{% if not loop.last %},{% endif %}{% endfor %} {%- if not loop.last %} · {% endif %} {% endfor %} {% endif %}

{% endfor %} {% endif %}