{# Component for displaying people count/attendance charts and tables #} {# Expects: event, people_count_by_day, all_days, all_times, people_count_table, people_count_by_place, people_counts_by_event_day #} {# People count over time - all days in one graph #} {% if people_count_by_day %}
| Tag | {% for time in all_times %}{{ time }} | {% endfor %}
|---|---|
| {{ day }} | {% for time in all_times %}{% if people_count_table.get(day, {}).get(time) %} {{ people_count_table[day][time] }} {% else %} - {% endif %} | {% endfor %}
| Tag | {% for time in all_times %}{{ time }} | {% endfor %}
|---|---|
| {{ day }} | {% for time in all_times %}
{% if people_count_by_place.get(day, {}).get(time) %}
{% for entry in people_count_by_place[day][time] %}
{{ entry.place }}: {{ entry.count }}
{% endfor %}
{% else %}
-
{% endif %}
|
{% endfor %}