{% load i18n %}

{% trans 'Tasks' %}

{% if project.tasks.exists %} {% for task in project.tasks.all %} {% endfor %}
{% trans 'Task' %} {% trans 'Description' %} {% trans 'Time frame' %}
{{ task.title }} {{ task.text }} {% for dates in task.dates %} {% if dates|length > 1 %}

{{ dates.0 | date:"DATE_FORMAT" }}
- {{ dates.1 | date:"DATE_FORMAT" }}

{% else %}

{{ dates.0 | date:"DATE_FORMAT" }}

{% endif %} {% endfor %}
{% else %}

{% trans 'No active tasks found.' %}

{% endif %}