{% if tasks is defined and tasks is not empty %}
Date
Description
Duration
{% for task in tasks %} {% for log in task.time_log %}
{{ log.start_date }}
{{ log.description }}
{{ log.duration|date('H:i:s') }}
{% endfor %} {% endfor %}
{% endif %}