18 lines
871 B
Twig
18 lines
871 B
Twig
{#
|
||
# The placement a questionnaire is about, in one line above the form: just enough to know which
|
||
# one it is. Expects `assignment`.
|
||
#}
|
||
{% set destination = assignment.destination %}
|
||
{% set pickup = assignment.hasBusEscort ? destination.pickup(assignment.pickup) : null %}
|
||
<p class="flex flex-wrap items-center gap-x-2 gap-y-1 pb-8 text-sm text-gray-700">
|
||
<span class="font-bold text-gray-900">{{ assignment.jobProfile.name }}</span>
|
||
{% include '_partials/_dot.html.twig' %}
|
||
<span>{{ destination.product }}</span>
|
||
{% include '_partials/_dot.html.twig' %}
|
||
<span class="whitespace-nowrap">{{ destination.dateFrom|date('d.m.') }}–{{ destination.dateTo|date('d.m.Y') }}</span>
|
||
{% if pickup %}
|
||
{% include '_partials/_dot.html.twig' %}
|
||
<span class="whitespace-nowrap">Busbegleitung ab {{ pickup.city }}</span>
|
||
{% endif %}
|
||
</p>
|