{% macro date_status(title, tasks, count, paginator, status, isSingleStatus, person, user) %} {% if tasks|length > 0 %}
{{ task.title }}
{% if person is null %}
{{ 'For person'|trans }} : {{ task.person}}
{% endif %}
{{ task_workflow_metadata(task, 'definition.name')|trans }}
{% for place in workflow_marked_places(task) %}
{{ place|trans }}
{% endfor %}
{% if task.assignee is not null %}
{% if task.startDate is not null or task.warningDate is not null or task.endDate is not null %}
{{ 'By'|trans }} : {{ task.assignee.username }}
{% endif %}
|
|
{{ "There is no tasks."|trans }}
{% if person is not null and is_granted('CHILL_TASK_TASK_CREATE', person) %}