Feat: Add teamer info popup
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
Busbegleitung
|
||||
</div>
|
||||
<div>
|
||||
ab {{ assignment.pickup|bpn_pickup_label }}
|
||||
{{ assignment.pickup|bpn_pickup_label }}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
Busbegleitung
|
||||
</div>
|
||||
<div>
|
||||
ab {{ assignment.pickup|bpn_pickup_label }}
|
||||
{{ assignment.pickup|bpn_pickup_label }}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="font-bold">
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<h3 class="text-lg font-bold">
|
||||
Lizenzen
|
||||
</h3>
|
||||
<ul class="pb-4 divide-y divide-gray-200">
|
||||
{% for license in teamer.licenses %}
|
||||
<li class="py-2">
|
||||
<div class="flex items-center justify-between">
|
||||
<span class="flex-1">{{ license.type|license_label }}</span>
|
||||
<div class="flex items-center space-x-2">
|
||||
{% if is_granted('DOWNLOAD', license.certificate) %}
|
||||
<a href="{{ path('app_common_download', { 'uuid': license.certificate.uuid }) }}"
|
||||
target="_blank"
|
||||
title="Download Nachweis">
|
||||
{{ icon('download', 'w-4 h-4') }}
|
||||
</a>
|
||||
{% endif %}
|
||||
<span>{{ license.date|date('m/Y') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="py-2">
|
||||
-
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
@@ -0,0 +1,17 @@
|
||||
<h3 class="text-lg font-bold">
|
||||
Fortbildungen
|
||||
</h3>
|
||||
<ul class="pb-4 divide-y divide-gray-200">
|
||||
{% for attendance in teamer.trainingAttendances %}
|
||||
<li class="py-2">
|
||||
<div class="flex items-center justify-between">
|
||||
<span class="flex-1">{{ attendance.training.name }}</span>
|
||||
<span>{{ attendance.date|date('m/Y') }}</span>
|
||||
</div>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="py-2">
|
||||
-
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user