show which schnupperant already paid #264

Merged
philipp merged 1 commits from staging into main 2024-03-15 10:53:01 +01:00
2 changed files with 7 additions and 2 deletions

View File

@ -9,7 +9,12 @@
<h2 class="h2">Angemeldete Personen: {{ schnupperanten | length }}</h2> <h2 class="h2">Angemeldete Personen: {{ schnupperanten | length }}</h2>
<div class="text-sm p-3"> <div class="text-sm p-3">
<ol class="ms-2" style="list-style: number;"> <ol class="ms-2" style="list-style: number;">
{% for user in schnupperanten %}<li class="py-1">{{ user.name }} ({{ user.mail }} | {{ user.notes }})</li>{% endfor %} {% for user in schnupperanten %}
<li class="py-1"
{% if "paid" in user.roles %}style="background-color: green;"{% endif %}>
{{ user.name }} ({{ user.mail }} | {{ user.notes }})
</li>
{% endfor %}
</ol> </ol>
</div> </div>
</div> </div>

View File

@ -43,7 +43,7 @@
{% set show_additional = true %} {% set show_additional = true %}
{% endif %} {% endif %}
{% if show_additional %} {% if show_additional %}
<hr /> <hr />
{{ self::show_place(aisle_name = aisle_name, side_name = side_name, level = 6) }} {{ self::show_place(aisle_name = aisle_name, side_name = side_name, level = 6) }}
{{ self::show_place(aisle_name = aisle_name, side_name = side_name, level = 7) }} {{ self::show_place(aisle_name = aisle_name, side_name = side_name, level = 7) }}
{{ self::show_place(aisle_name = aisle_name, side_name = side_name, level = 8) }} {{ self::show_place(aisle_name = aisle_name, side_name = side_name, level = 8) }}