{% if not actions|length %} {% else %}
{% for action in actions %} {% if action.priorite %} {% else %} {% endif %} {% endfor %}
Titre Projet Créateur Date création Date fin prévue Destinataire Statut Actions
{% if action.titre!= null %} {{ action.titre }} {% else %} {{ action.intitule.label }} {% if action.projet is not null %}( {{action.projet.intitule}}{% if action.modules is not null %}: {{action.modules.label}}{% endif %} ){% endif %}{% endif %} {% if action.titre!= null %} {{ action.titre }} {% else %} {{ action.intitule.label }} {% if action.projet is not null %}( {{action.projet.intitule}}{% if action.modules is not null %}: {{action.modules.label}}{% endif %} ){% endif %}{% endif %} {% if action.projet is not null %} {{action.projet.intitule}} {% else %} {% endif %} user {{ action.createur.lastName }} {{ action.createur.firstName }}
{{ action.dateCreation|date('d-m-Y H:i') }} {{ action.dateLimiteFinAction|date('d-m-Y H:i') }} {% if action.dateLimiteFinAction != null or action.delais != null %} 😞 Action en retard !

{% endif %}" data-trigger="hover" data-html="true">
{% endif %}
user {{ action.destinataire.lastName }} {{ action.destinataire.firstName }}
{{ constant('App\\Entity\\Action::STATUT')[constant('App\\Entity\\Action::'~action.statut)] }} {{ (action.actionHistoriques|length) - 1 }} {% if action.createur.id == app.user.id and action.statut == "S01" %} {% endif %} {% if action.destinataire.id == app.user.id and action.statut == "S01"%} {% endif %} {% if action.createur.id == app.user.id or action.destinataire.id == app.user.id %} {% endif %} {% if action.createur.id == app.user.id or action.destinataire.id == app.user.id or is_granted('ROLE_AJOUTER_COMMENTAIRE_ACTIONS') %} {% endif %} {% if action.createur.id == app.user.id or action.destinataire.id == app.user.id or is_granted('ROLE_SUPPRIMER_ACTIONS') %} {% endif %}
{% endif %}