{% with total=dat.total n_complete=dat.Complete n_out=dat.Out n_missing=dat.Missing n_todo=dat|get_item:"To Do" %}
{% load mathfilters %}
{% if total == 0 %}
no tasks
{% elif n_complete == total %}
{{ n_complete }} / {{ total }}
{% else %}
{% with p_complete=n_complete|div:total|mul:100 %}
{% with p_todo=n_todo|div:total|mul:100 %}
{% with p_out=n_out|div:total|mul:100 %}
{% with p_missing=n_missing|div:total|mul:100 %}
{% if n_complete > 0 %}
{% endif %}
{% if n_out > 0 %}
{% endif %}
{% if n_todo > 0 %}
{% endif %}
{% if n_missing > 0 %}
{% endif %}