{# Template pour afficher la timeline du workflow des notes #}
Historique de validation
{{ grade.workflowStatusLabel }}
{% set timeline = grade.workflowTimeline %} {% for step in timeline %}
{% if step.status == 'completed' %} {% elseif step.status == 'current' %} {% else %} {% endif %}
{{ step.label }}
{% if step.date %} {{ step.date|date('d/m/Y H:i') }} {% endif %}
{% if step.user %}
Par: {{ step.user.firstName }} {{ step.user.lastName }}
{% endif %} {% if step.comments %}
Commentaires:
{{ step.comments }}
{% endif %}
{% endfor %}