{% extends "base.html" %}
{% block body %}
{% include "partials/header.html" %}
{% if doing_tasks %}
En cours{{ doing_tasks | length }}
{% for dt in doing_tasks %}
{% set t = dt.task %}
{# Deep-link to the task itself rather than its project section: the
category page reads ``#ID-`` and opens the matching card in
detail mode (#109). #}
{% set task_href = "cat/" ~ dt.cat_id ~ ".html#ID-" ~ t.id %}
{% include "partials/task_card.html" %}
{% endfor %}
{% endif %}
{% for c in categories %}
{% set cp = projects_by_cat[c.id] %}
{% set total_tasks = cp | sum(attribute="total") %}
{% set total_done = cp | sum(attribute="done") %}
{% set agg_actual = aggregate_burndown(cp) %}