{% extends "base.html" %} {% import "_macros.html" as m %} {% from "_macros.html" import icon %} {% set active_nav = 'completed' %} {% block title %}Completed{% endblock %} {% block heading %}Completed tasks{% endblock %} {% block content %} {% if not tasks %}
{{ icon('check-circle') }}

No completed tasks yet.

{% else %}
{{ tasks | length }} completed
{% for task in tasks %} {{ m.task_card(task, show_assignee=True) }} {% endfor %} {% endif %} {% endblock %}