single-user-edit-page #971

Merged
philipp merged 23 commits from single-user-edit-page into staging 2025-05-03 19:20:21 +02:00
Showing only changes of commit 7bd863ddf1 - Show all commits

View File

@ -151,6 +151,7 @@
</dialog>
{% endif %}
{% elif "Scheckbuch" in member %}
{% if allowed_to_edit %}
<div class="grid gap-3 pb-3">
<div class="max-h-60 overflow-y-scroll">
{% for log in logbook %}
@ -159,7 +160,17 @@
</div>
</div>
{% endif %}
{% elif "Schnupperant" in member %}
{% if allowed_to_edit %}
<div class="grid pt-3">
<a href="/admin/user/{{ user.id }}/schnupperant-to-scheckbuch" class="btn btn-dark"
onclick="return confirm('Willst du \'{{ user.name }}\' wirklich auf ein Scheckbuch umwandeln?');">In Scheckbuch umwandeln</a>
</div>
{% endif %}
{% endif %}
{% if "Scheckbuch" in member or "Schnupperant" in member %}
{% if allowed_to_edit %}
<div class="grid gap-3 pb-3 mt-3">
<button type="button"
onclick="document.getElementById('call-for-action').showModal()"
@ -213,6 +224,7 @@
</div>
</dialog>
{% endif %}
{% endif %}
</div>
</div>
{% if is_clubmember %}