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>
<div class="text-sm p-3">
<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>
</div>
</div>