{% macro date_status(title, tasks, count, paginator, status, isSingleStatus, person, user) %} {% if tasks|length > 0 %}
{{ 'Title'|trans }} | {{ 'Task type'|trans }} | {% if person is null %}{{ 'Person'|trans }} | {% endif %}{{ 'Task status'|trans }} | {{ 'Dates'|trans }} | |
---|---|---|---|---|---|
{{ task.title }} | {{ task_workflow_metadata(task, 'definition.name')|trans }} | {% if person is null %}{{ task.person}} | {% endif %}
{% for place in workflow_marked_places(task) %}
{{ place|trans }}
{% endfor %}
{% if task.assignee is not null %}
|
{% if task.startDate is null and task.warningDate is null and task.endDate is null %}
{{'No dates specified'|trans}}
{% else %}
|
|
{{ "There is no tasks."|trans }}
{% if person is not null and is_granted('CHILL_TASK_TASK_CREATE', person) %}