{% extends 'base.html' %}
{% block title %}Auswertung Feedback – {{ event.name }}{% endblock %}
{% block content %}
{# Event information card #}
{% include 'components/event_info_card.html' %}
{# Table of contents #}
{% include 'components/feedback_toc.html' %}
{# Submission count tracking component #}
{% include 'components/submission_tracking.html' %}
{# People count charts and tables #}
{% include 'components/people_count_display.html' %}
{# Feedback count and percentage charts #}
{% include 'components/feedback_count_display.html' %}
{# Talk feedback count charts #}
{% include 'components/talk_feedback_count_display.html' %}
{# Load Chart.js and helpers BEFORE rendering any charts #}
{% include 'components/imports/chartjs.html' %}
{# Labels for scales (4 – 1) #}
{% set scale_labels = {
1: 'auf jeden Fall',
2: 'eher ja',
3: 'eher nein',
4: 'auf keinen Fall'
} %}
{# Helper macro for per-event table #}
{% macro scale_table(counts) %}
| Antwort |
Anzahl |
{% for scale in [1, 2, 3, 4] %}
| {{ scale_labels[scale] }} |
{{ counts[scale] }} |
{% endfor %}
{% endmacro %}
{# Helper macro for cross-event table #}
{% macro cross_event_table(compare_for_question, events_with_feedback) %}
| Event |
{% for scale in [1, 2, 3, 4] %}
{{ scale_labels[scale] }} |
{% endfor %}
{% for ev in events_with_feedback %}
{% set counts = compare_for_question.get(ev.id) or {} %}
| {{ ev.name }} |
{% for scale in [1, 2, 3, 4] %}
{{ counts.get(scale, 0) }} |
{% endfor %}
{% endfor %}
{% endmacro %}
Hat dir die NooK gefallen?
Würdest du noch einmal wiederkommen?
Würdest du dich an der nächsten NooK beteiligen?
{# How Heard Section #}
{% include 'components/how_heard_display.html' %}
Freitext-Antworten (Event)
{% if do_more_answers %}
Was sollten wir nochmal machen, mehr machen, wieder machen?
{% for text in do_more_answers %}
- {{ text }}
{% endfor %}
{% endif %}
{% if do_less_answers %}
Was sollen wir anders machen, weniger machen, nie wieder tun?
{% for text in do_less_answers %}
- {{ text }}
{% endfor %}
{% endif %}
{% if topics_answers %}
An welchen anderen Themen oder weiterführenden Vorträgen wärst du interessiert?
{% for text in topics_answers %}
- {{ text }}
{% endfor %}
{% endif %}
{% if free_text_answers %}
Freitext
{% for text in free_text_answers %}
- {{ text }}
{% endfor %}
{% endif %}
{% if speaker_feedback_texts %}
Speaker-Feedback
{% for text in speaker_feedback_texts %}
- {{ text }}
{% endfor %}
{% endif %}
{% if talk_feedback_by_talk %}
Talk-Feedback
{% for talk_id, bucket in talk_feedback_by_talk.items() %}
{% set talk = bucket.talk %}
{% set feedback_data = bucket %}
{% set chart_prefix = 'talk-' ~ talk_id %}
{% include 'components/talk_feedback_display.html' %}
{% include 'components/talk_feedback_charts.html' %}
{% endfor %}
{% endif %}
{% include 'components/submission_charts.html' %}
{% include 'components/people_count_charts.html' %}
{% include 'components/feedback_count_charts.html' %}
{% include 'components/talk_feedback_count_charts.html' %}
{% include 'components/how_heard_charts.html' %}
{% endblock %}