[TASK] only allowed users change role from scheckbuch to mitglied
All checks were successful
CI/CD Pipeline / test (push) Successful in 14m13s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped

This commit is contained in:
Marie Birner 2025-05-03 14:45:57 +02:00
parent ffe1745b65
commit d7dec5da29

View File

@ -107,9 +107,11 @@
{% for log in logbook %}
{{ log::show_old(log=log, state="completed", only_ones=false, index=loop.index, allowed_to_edit=false) }}
{% endfor %}
{% if allowed_to_edit %}
<button type="button"
onclick="document.getElementById('call-for-action').showModal()"
class="btn btn-primary">Zu Vereinsmitglied umwandeln</button>
{% endif %}
</div>
<dialog id="call-for-action"
class="max-w-screen-sm w-full dark:bg-primary-600 dark:text-white rounded-md"