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