Feat: Add popup window to display teamer info per application
This commit is contained in:
@@ -64,7 +64,15 @@
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div class="flex items-center justify-end space-x-1">
|
||||
<div class="flex items-center justify-end space-x-1"
|
||||
role="button"
|
||||
title="Bewerber:innen-Info anzeigen"
|
||||
aria-label="Bewerber:innen-Info anzeigen"
|
||||
{{ stimulus_controller('modal-button', [], [], {'ajax-modal': '#ajax-modal'}) }}
|
||||
{{ stimulus_action('modal-button', 'ajax', 'click', {
|
||||
'title': 'Bewerber:innen-Info',
|
||||
'url': path('app_admin_application_info', { 'uuid': application.uuid })
|
||||
}) }}>
|
||||
{% if assignment.pickup %}
|
||||
{% if application.matchesPickup %}
|
||||
{{ icon('bus', 'w-5 h-5 text-green-500 shrink-0') }}
|
||||
@@ -73,8 +81,8 @@
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% set requiredTrainingsCount = assignment.jobProfile.requiredTrainings|length %}
|
||||
{% if requiredTrainingsCount > 0 %}
|
||||
<span>{{ application.completedTrainingsCount }}/{{ requiredTrainingsCount }}</span>
|
||||
{% if not application.matchesRequiredTrainings %}
|
||||
{{ icon('alert', 'w-5 h-5 text-red-500 shrink-0') }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user