{# Weekly tasks-handled-per-person stacked bar chart (#492). Expects: - ``weekly_bars``: precomputed rects {x, y, w, h, color, person, count, week} - ``weekly_axis``: [{x, label}] one ISO-week label per bar - ``weekly_legend``: [{person, color, count}] one per attributed person - ``weekly_total``: sum across the window - ``weekly_vb_w`` / ``weekly_vb_h``: SVG viewBox dimensions Geometry is computed in pages.py so this template just paints it (mirrors the inline-SVG, no-charting-lib pattern of activity.html / burndown.html). #} {% if weekly_bars %}
Tâches traitées / semaine {{ weekly_total }}
{% for b in weekly_bars %} {{ b.person }} — S{{ "%02d" | format(b.week) }}: {{ b.count }} {% endfor %}
{% for a in weekly_axis %}{{ a.label }}{% endfor %}
{% for l in weekly_legend %} {{ l.person }} ({{ l.count }}) {% endfor %}
{% endif %}