{% for interview in preparations %}
{% include '@Interview/interview/_my_interview_card.html.twig' with {interview: interview, context: 'prepare', progress: preparation_progress[interview.id]|default(0)} only %}
{% else %}
{% include '@Interview/interview/_my_empty.html.twig' with {icon: 'ti-circle-check', title: 'Toutes vos préparations sont à jour', text: 'Vous n’avez aucun entretien à préparer pour le moment.'} only %}
{% endfor %}
{% for interview in upcoming %}
{% include '@Interview/interview/_my_interview_card.html.twig' with {interview: interview, context: 'upcoming'} only %}
{% else %}
{% include '@Interview/interview/_my_empty.html.twig' with {icon: 'ti-calendar-off', title: 'Aucun entretien à venir', text: 'Vos prochains rendez-vous apparaîtront ici.'} only %}
{% endfor %}
{% for interview in reports_to_validate %}
{% include '@Interview/interview/_my_interview_card.html.twig' with {interview: interview, context: 'report'} only %}
{% else %}
{% include '@Interview/interview/_my_empty.html.twig' with {icon: 'ti-file-check', title: 'Aucun compte rendu à valider', text: 'Les comptes rendus nécessitant votre validation apparaîtront ici.'} only %}
{% endfor %}
{% for objective in active_objectives %}
{{ objective.title }}
{{ objective.targetDate ? 'Échéance le ' ~ objective.targetDate|date('d/m/Y') : 'Sans date d’échéance' }}
{% else %}
{% include '@Interview/interview/_my_empty.html.twig' with {icon: 'ti-target-off', title: 'Aucun objectif actif', text: 'Les objectifs définis lors de vos entretiens apparaîtront ici.'} only %}
{% endfor %}
{% for interview in history %}
{% include '@Interview/interview/_my_interview_card.html.twig' with {interview: interview, context: 'history'} only %}
{% else %}
{% include '@Interview/interview/_my_empty.html.twig' with {icon: 'ti-history', title: 'Votre historique est vide', text: 'Vos entretiens terminés apparaîtront ici.'} only %}
{% endfor %}