Merge branch 'single-user-edit-page' of ssh://git.hofer.link:2222/Ruderverein-Donau-Linz/rowt into single-user-edit-page
All checks were successful
CI/CD Pipeline / test (push) Successful in 14m9s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped

This commit is contained in:
Philipp Hofer 2025-05-03 15:09:23 +02:00
commit 25c3a28c7d
2 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,8 @@
.input-group { .input-group {
@apply flex; @apply flex;
input[readonly] { input[readonly],
select[disabled] {
opacity: .7; opacity: .7;
} }

View File

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