feat: timeline for role house manager
closes #869b9vmmx
This commit is contained in:
@@ -11,10 +11,14 @@
|
||||
}) }}" colspan="{{ colspan }}">
|
||||
{% if item.type == 'disposition' %}
|
||||
<div class="flex items-center space-x-2">
|
||||
<a href="{{ path('app_administrative_assignment_detail', { 'uuid': item.assignmentUuid, 'r': return_url() }) }}"
|
||||
class="inline-block text-xs font-semibold">
|
||||
{{ item.jobProfile }}
|
||||
</a>
|
||||
{% if is_granted('ROLE_HOUSE_MANAGER') %}
|
||||
<span class="inline-block text-xs font-semibold">{{ item.jobProfile }}</span>
|
||||
{% else %}
|
||||
<a href="{{ path('app_administrative_assignment_detail', { 'uuid': item.assignmentUuid, 'r': return_url() }) }}"
|
||||
class="inline-block text-xs font-semibold">
|
||||
{{ item.jobProfile }}
|
||||
</a>
|
||||
{% endif %}
|
||||
<span>|</span>
|
||||
<button type="button"
|
||||
class="flex items-center space-x-2"
|
||||
@@ -26,10 +30,14 @@
|
||||
</button>
|
||||
</div>
|
||||
{% else %}
|
||||
<a href="{{ path('app_administrative_assignment_detail', { 'uuid': item.assignmentUuid, 'r': return_url() }) }}"
|
||||
class="text-xs font-semibold">
|
||||
{{ item.jobProfile }}
|
||||
</a>
|
||||
{% if is_granted('ROLE_HOUSE_MANAGER') %}
|
||||
<span class="text-xs font-semibold">{{ item.jobProfile }}</span>
|
||||
{% else %}
|
||||
<a href="{{ path('app_administrative_assignment_detail', { 'uuid': item.assignmentUuid, 'r': return_url() }) }}"
|
||||
class="text-xs font-semibold">
|
||||
{{ item.jobProfile }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</td>
|
||||
{% endmacro %}
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
{{ form_row(filterForm.dateFrom) }}
|
||||
{{ form_row(filterForm.dateTo) }}
|
||||
</div>
|
||||
{{ form_row(filterForm.hotels) }}
|
||||
{% if filterForm.hotels is defined %}
|
||||
{{ form_row(filterForm.hotels) }}
|
||||
{% endif %}
|
||||
<div class="flex items-center space-x-2">
|
||||
{{ form_widget(filterForm.apply, { 'attr': { 'class': 'btn' } }) }}
|
||||
{{ form_widget(filterForm.reset, { 'attr': { 'class': 'btn btn--secondary' } }) }}
|
||||
|
||||
Reference in New Issue
Block a user