Show roll totals in individual order headings

This commit is contained in:
Mikei386 committed 2026-11-26 22:33:58 +01:00
1 parent b281f0f188
commit cdc953e9ae
3 files changed
+12 -10

No files matched your search

+2 -2
View File
@@ -14,9 +14,9 @@
<section class="stat"><span>Verschiedene Varianten</span><strong>{{ variant_count }}</strong></section>
<section class="stat"><span>Personen mit Bestellwünschen</span><strong>{{ groups|length }}</strong></section>
</div>
{% for username, entries in groups %}
{% for username, entries, roll_count in groups %}
<section class="panel">
<div class="panel-heading"><h2 id="order-person-{{ forloop.counter }}">Bestellwunsch · {{ username }}</h2></div>
<div class="panel-heading"><h2 id="order-person-{{ forloop.counter }}">Bestellwunsch · {{ username }} · ×{{ roll_count }}</h2></div>
<div class="table-wrap">
<table class="order-table" aria-labelledby="order-person-{{ forloop.counter }}">
<thead>