{% set action_labels = {todo:['À faire','blue'], in_progress:['En cours','orange'], planned:['Planifiée','teal'], completed:['Terminée','green']} %}

Actions de suivi RH

{{ actions|length }} action{{ actions|length != 1 ? 's' : '' }}
Progression globale des actions{{ completed_actions_count }} / {{ actions|length }} terminée{{ completed_actions_count != 1 ? 's' : '' }}
{% for action in actions %}{% set info = action_labels[action.status]|default([action.status,'slate']) %}

{{ action.title }}

Action RH · Suivi administratif

{{ info[0] }}
Responsable {{ action.owner ?: 'Non attribué' }}Échéance {{ action.dueDate ? action.dueDate|date('d/m/Y') : 'À définir' }}Créée le {{ action.createdAt|date('d/m/Y') }}Terminée le {{ action.completedAt ? action.completedAt|date('d/m/Y à H:i') : '—' }}
Description de l’action{{ action.description ?: 'Aucune description administrative renseignée.' }}
{% if action.status != 'completed' %}
{% else %} Action terminée{% endif %}
{% else %}
Aucune action de suivi. Utilisez « Nouvelle action » pour démarrer le suivi.
{% endfor %}
Aucune action pour ce filtre.