32 lines
1.2 KiB
Twig
32 lines
1.2 KiB
Twig
<ul class="pb-8">
|
|
{% if assignment.destination.pickup(assignment.pickup) %}
|
|
<li class="py-2">
|
|
<div class="flex items-center justify-between">
|
|
<span class="flex-1">Busbegleitung ab {{ assignment.destination.pickup(assignment.pickup).city }}</span>
|
|
{% if has_pickup(assignment.pickup, teamer) %}
|
|
{{ icon('check', 'w-5 h-5 text-green-500 shrink-0') }}
|
|
{% else %}
|
|
{{ icon('close', 'w-5 h-5 text-red-500 shrink-0') }}
|
|
{% endif %}
|
|
</div>
|
|
</li>
|
|
{% endif %}
|
|
{% for training in assignment.jobProfile.requiredTrainings %}
|
|
<li class="py-2">
|
|
<div class="flex items-center justify-between">
|
|
<span class="flex-1">{{ training.name }} absolviert</span>
|
|
{% if teamer.trainingAttendance(training) %}
|
|
{{ icon('check', 'w-5 h-5 text-green-500 shrink-0') }}
|
|
{% else %}
|
|
{{ icon('close', 'w-5 h-5 text-red-500 shrink-0') }}
|
|
{% endif %}
|
|
</div>
|
|
</li>
|
|
{% if not loop.last %}
|
|
<li>
|
|
oder
|
|
</li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|