Merge pull request 'show which schnupperant already paid' (#264) from staging into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 9m59s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 4m55s

Reviewed-on: #264
This commit is contained in:
philipp 2024-03-15 10:52:58 +01:00
commit 3b72bf279f
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>