single-user-edit-page #968

Merged
philipp merged 5 commits from single-user-edit-page into staging 2025-05-02 18:16:55 +02:00
Showing only changes of commit c2b57583cf - Show all commits

View File

@ -110,13 +110,7 @@
<h2 class="h2">💸</h2> <h2 class="h2">💸</h2>
<div class="mx-2 divide-y divide-gray-200 dark:divide-primary-600"> <div class="mx-2 divide-y divide-gray-200 dark:divide-primary-600">
<div class="py-3"> <div class="py-3">
{% if "Schnupperant" in member %} {% if fee %}
{% if "paid" in user.roles %}
✅ Schnupperant hat schon bezahlt
{% else %}
❌ Schnupperant hat noch <b>nicht</b> bezahlt
{% endif %}
{% else %}
<div> <div>
<strong>{{ fee.name }}</strong> <strong>{{ fee.name }}</strong>
<span class="block">{{ fee.sum_in_cents / 100 }}€</span> <span class="block">{{ fee.sum_in_cents / 100 }}€</span>
@ -132,6 +126,16 @@
{% else %} {% else %}
❌ Zahlung ausständig ❌ Zahlung ausständig
{% endif %} {% endif %}
{% else %}
{% if "paid" in user.roles %}
✅ {{ member | keys }} hat schon bezahlt
{% else %}
{% for key, value in member %}
{% if loop.first %}{{ key }}{% endif %}
{% endfor %}
hat noch nicht bezahlt
{% endif %}
{% endif %} {% endif %}
</div> </div>
</div> </div>