{{ 'Task'|trans }}

{{ task.title }} {% for place in workflow_marked_places(task) %} {{ place|trans }} {% endfor %}

{{ 'Description'|trans }}
{% if task.description is empty %} {{"No description"|trans}} {% else %}
{{ task.description|chill_markdown_to_html }}
{% endif %}
{{ 'Assignee'|trans }}
{% if task.assignee is null %} {{"No one assignee"|trans}} {% else %} {{ task.assignee }} {% endif %}
{{ 'Scope'|trans }}
{{ task.scope.name|localize_translatable_string }}

{{"Dates"|trans}}

{% if task.startDate is null and task.endDate is null and task.warningDate is null %}
{{"No dates specified"|trans}}
{% else %} {% if task.startDate is not null %}
{{ 'Start'|trans }}
{{ task.startDate|format_date('long') }}
{% endif %} {% if task.endDate is not null %}
{{ 'End'|trans }}
{{ task.endDate|format_date('long') }}
{% endif %} {% if task.warningDate is not null %}
{{ 'Warning'|trans }}
{{ task.warningDate|format_date('long') }}
{% endif %} {% endif %}
{% if timeline is not null %}

{{"Timeline"|trans}}

{{ timeline|raw }} {% endif %}