feat: list upcoming season assignments among a teamer's dispositions
This commit is contained in:
1 parent
300bb2058f
commit
c00dd86eb4
17 files changed
+386
-97
No files matched your search
@@ -0,0 +1,29 @@
|
||||
{# A season assignment among the upcoming dispositions. Linked only when it is the one the season
|
||||
page shows - that page resolves a single assignment and 404s for any other. #}
|
||||
<div class="relative flex flex-col justify-between rounded-md border border-gray-200 bg-gray-100 p-4">
|
||||
<div class="flex flex-col space-y-2 pb-2">
|
||||
<div class="flex items-start space-x-2">
|
||||
<span class="flex-1 font-bold">{{ seasonAssignment|season_assignment_label }}</span>
|
||||
{% include '_partials/_season_badge.html.twig' %}
|
||||
</div>
|
||||
<div class="flex items-start space-x-2">
|
||||
{{ icon('calendar', 'w-5 h-5 shrink-0') }}
|
||||
<span class="flex-1">{{ seasonAssignment.dateFrom|date('d.m.Y') }} - {{ seasonAssignment.dateTo|date('d.m.Y') }}</span>
|
||||
</div>
|
||||
<div class="flex items-start space-x-2">
|
||||
{{ icon('profile', 'w-5 h-5 shrink-0') }}
|
||||
<span class="flex-1">{{ seasonAssignment.jobProfile.name }}</span>
|
||||
</div>
|
||||
<div class="flex items-start space-x-2">
|
||||
{{ icon('house', 'w-5 h-5 shrink-0') }}
|
||||
<span class="flex-1">{{ seasonAssignment.hotelCode|house_label }}</span>
|
||||
</div>
|
||||
</div>
|
||||
{% if seasonAssignment is same as(linkedSeasonAssignment) %}
|
||||
<a href="{{ path('app_teamer_season_index') }}"
|
||||
class="btn btn--small flex items-center space-x-2">
|
||||
{{ icon('info', 'w-4 h-4 shrink-0') }}
|
||||
<span>Details</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
Reference in new issue
Block a user