style: restyle the teamer assignment, placement and application pages
This commit is contained in:
1 parent
64fac372c0
commit
8b44c7f14d
5 files changed
+89
-129
No files matched your search
@@ -1,94 +1,44 @@
|
||||
<dl class="divide-y divide-gray-100">
|
||||
<div class="py-6 first:pt-0 last:pb-0 sm:grid sm:grid-cols-3 sm:gap-4">
|
||||
<dt class="text-sm font-bold leading-6 text-gray-900">
|
||||
Jobprofil
|
||||
</dt>
|
||||
<dd class="mt-1 text-sm leading-6 text-gray-700 sm:col-span-2 sm:mt-0">
|
||||
{{ assignment.jobProfile.name }}
|
||||
{% if assignment.jobProfileInfo %}
|
||||
<div class="pt-2">
|
||||
{{ assignment.jobProfileInfo|nl2br }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</dd>
|
||||
</div>
|
||||
<div class="py-6 first:pt-0 last:pb-0 sm:grid sm:grid-cols-3 sm:gap-4">
|
||||
<dt class="text-sm font-bold leading-6 text-gray-900">
|
||||
Destination
|
||||
</dt>
|
||||
<dd class="mt-1 text-sm leading-6 text-gray-700 sm:col-span-2 sm:mt-0">
|
||||
{{ assignment.destination.product }}
|
||||
</dd>
|
||||
</div>
|
||||
<div class="py-6 first:pt-0 last:pb-0 sm:grid sm:grid-cols-3 sm:gap-4">
|
||||
<dt class="text-sm font-bold leading-6 text-gray-900">
|
||||
Einsatztermin
|
||||
</dt>
|
||||
<dd class="mt-1 text-sm leading-6 text-gray-700 sm:col-span-2 sm:mt-0">
|
||||
{{ assignment.destination.dateFrom|date('d.m.Y') }} - {{ assignment.destination.dateTo|date('d.m.Y') }}
|
||||
</dd>
|
||||
</div>
|
||||
<dl class="grid grid-cols-[minmax(0,9rem)_minmax(0,1fr)] gap-x-4 gap-y-3">
|
||||
<dt class="text-muted">Jobprofil</dt>
|
||||
<dd class="break-words">
|
||||
<span class="font-bold">{{ assignment.jobProfile.name }}</span>
|
||||
{% if assignment.jobProfileInfo %}
|
||||
<div class="pt-2">
|
||||
{{ assignment.jobProfileInfo|nl2br }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</dd>
|
||||
<dt class="text-muted">Destination</dt>
|
||||
<dd class="break-words">{{ assignment.destination.product }}</dd>
|
||||
<dt class="text-muted">Einsatztermin</dt>
|
||||
<dd>{{ assignment.destination.dateFrom|date('d.m.Y') }} - {{ assignment.destination.dateTo|date('d.m.Y') }}</dd>
|
||||
{% if assignment.pickup %}
|
||||
{% set pickup = assignment.destination.pickup(assignment.pickup) %}
|
||||
{% if pickup is not null %}
|
||||
<div class="py-6 first:pt-0 last:pb-0 sm:grid sm:grid-cols-3 sm:gap-4">
|
||||
<dt class="text-sm font-bold leading-6 text-gray-900">
|
||||
Busbegleitung
|
||||
</dt>
|
||||
<dd class="mt-1 text-sm leading-6 text-gray-700 sm:col-span-2 sm:mt-0">
|
||||
ab {{ pickup.city }}, {{ pickup.street }}
|
||||
</dd>
|
||||
</div>
|
||||
<div class="py-6 first:pt-0 last:pb-0 sm:grid sm:grid-cols-3 sm:gap-4">
|
||||
<dt class="text-sm font-bold leading-6 text-gray-900">
|
||||
Busabfahrt
|
||||
</dt>
|
||||
<dd class="mt-1 text-sm leading-6 text-gray-700 sm:col-span-2 sm:mt-0">
|
||||
{{ pickup.time }} Uhr
|
||||
</dd>
|
||||
</div>
|
||||
<dt class="text-muted">Busbegleitung</dt>
|
||||
<dd class="break-words">ab {{ pickup.city }}, {{ pickup.street }}</dd>
|
||||
<dt class="text-muted">Busabfahrt</dt>
|
||||
<dd>{{ pickup.time }} Uhr</dd>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if application is defined and application is not null and application.pickup is not null %}
|
||||
<div class="py-6 first:pt-0 last:pb-0 sm:grid sm:grid-cols-3 sm:gap-4">
|
||||
<dt class="text-sm font-bold leading-6 text-gray-900">
|
||||
Gewählter Zustieg
|
||||
</dt>
|
||||
<dd class="mt-1 text-sm leading-6 text-gray-700 sm:col-span-2 sm:mt-0">
|
||||
{{ application.pickup|bpn_pickup_label }}
|
||||
</dd>
|
||||
</div>
|
||||
<dt class="text-muted">Gewählter Zustieg</dt>
|
||||
<dd class="break-words">{{ application.pickup|bpn_pickup_label }}</dd>
|
||||
{% endif %}
|
||||
<div class="py-6 first:pt-0 last:pb-0 sm:grid sm:grid-cols-3 sm:gap-4">
|
||||
<dt class="text-sm font-bold leading-6 text-gray-900">
|
||||
Du bekommst
|
||||
</dt>
|
||||
<dd class="mt-1 text-sm leading-6 text-gray-700 sm:col-span-2 sm:mt-0">
|
||||
{{ assignment.benefits|nl2list }}
|
||||
</dd>
|
||||
</div>
|
||||
<dt class="text-muted">Du bekommst</dt>
|
||||
<dd>{{ assignment.benefits|nl2list }}</dd>
|
||||
{% if assignment.fees|length %}
|
||||
<div class="py-6 first:pt-0 last:pb-0 sm:grid sm:grid-cols-3 sm:gap-4">
|
||||
<dt class="text-sm font-bold leading-6 text-gray-900">
|
||||
Honorar
|
||||
</dt>
|
||||
<dd class="mt-1 text-sm leading-6 text-gray-700 sm:col-span-2 sm:mt-0">
|
||||
{% for fee in assignment.fees %}
|
||||
{{ fee.name }} {{ fee.value|format_money }}
|
||||
{% endfor %}
|
||||
</dd>
|
||||
</div>
|
||||
<dt class="text-muted">Honorar</dt>
|
||||
<dd>
|
||||
{% for fee in assignment.fees %}
|
||||
<div>{{ fee.name }} {{ fee.value|format_money }}</div>
|
||||
{% endfor %}
|
||||
</dd>
|
||||
{% endif %}
|
||||
{% if additional is defined %}
|
||||
{% for item in additional %}
|
||||
<div class="py-6 first:pt-0 last:pb-0 sm:grid sm:grid-cols-3 sm:gap-4">
|
||||
<dt class="text-sm font-bold leading-6 text-gray-900">
|
||||
{{ item.type }}
|
||||
</dt>
|
||||
<dd class="mt-1 text-sm leading-6 text-gray-700 sm:col-span-2 sm:mt-0">
|
||||
{{ item.description|raw }}
|
||||
</dd>
|
||||
</div>
|
||||
<dt class="text-muted">{{ item.type }}</dt>
|
||||
<dd class="break-words">{{ item.description|raw }}</dd>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</dl>
|
||||
Reference in new issue
Block a user