[TASK] change schnupper ui and hopefully improve it
This commit is contained in:
parent
56f5b6e8db
commit
b7e3c882d8
@ -8,17 +8,20 @@
|
|||||||
role="alert">
|
role="alert">
|
||||||
<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="list-decimal">
|
||||||
{% for user in schnupperanten %}
|
{% for user in schnupperanten %}
|
||||||
<li class="py-1"
|
<li class="py-1 ml-4">
|
||||||
{% if "paid" in user.roles %}style="background-color: green;"{% endif %}>
|
<span class="flex items-center justify-between">
|
||||||
{{ user.name }} ({{ user.mail }}
|
<span>
|
||||||
{%- if user.notes %} | {{ user.notes }}
|
<span class="status-damage status-damage-{% if "paid" in user.roles %}none {% else %}locked {% endif %}"></span> {{ user.name }} ({{ user.mail }}
|
||||||
{% endif -%}
|
{%- if user.notes %} | {{ user.notes }}
|
||||||
)
|
{% endif -%}
|
||||||
<a class="btn btn-primary"
|
)
|
||||||
href="/admin/user/move/schnupperant/{{ user.id }}/to/scheckbuch"
|
</span>
|
||||||
onclick="return confirm('Willst du wirklich ein Scheckbuch erstellen? Die Person erhält ein Mail mit allen Infos.')">Zu Scheckbuch umwandeln</a>
|
<a class="btn btn-primary"
|
||||||
|
href="/admin/user/move/schnupperant/{{ user.id }}/to/scheckbuch"
|
||||||
|
onclick="return confirm('Willst du wirklich ein Scheckbuch erstellen? Die Person erhält ein Mail mit allen Infos.')">Zu Scheckbuch umwandeln</a>
|
||||||
|
</span>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ol>
|
</ol>
|
||||||
|
Loading…
Reference in New Issue
Block a user