feat: driver license check for teamers

closes #869bup9vf
This commit is contained in:
Björn Fromme
2026-03-15 12:42:28 +01:00
parent ebbefa0129
commit 20da6a0afc
32 changed files with 1095 additions and 6 deletions
@@ -2,6 +2,11 @@
Lizenzen
</h3>
<ul class="pb-4 divide-y divide-gray-200">
{% if teamer.driverLicenseVerified %}
<li class="py-2">
Führerschein
</li>
{% endif %}
{% for license in teamer.licenses %}
<li class="py-2">
<div class="flex items-center justify-between">
@@ -18,9 +23,10 @@
</div>
</div>
</li>
{% else %}
{% endfor %}
{% if not teamer.driverLicenseVerified and teamer.licenses | length == 0 %}
<li class="py-2">
-
</li>
{% endfor %}
{% endif %}
</ul>