{% extends 'django_forms_workflows/base.html' %} {% block title %}Approval Inbox - {{ site_name }}{% endblock %} {% block content %}
{# ── Page header ── #}

Approvals

{# ── Tab navigation ── #}
{% if active_form %} Showing {{ tasks|length }} task{{ tasks|length|pluralize }} in {{ active_category.name }}{{ active_form.name }}clear form filter {% elif active_category %} Showing {{ tasks|length }} task{{ tasks|length|pluralize }} in {{ active_category.name }}clear filter {% else %} {{ total_tasks_count }} pending task{{ total_tasks_count|pluralize }} total {% endif %}
{# ── Category filter bar ── #} {% if category_counts %} {% endif %} {# ── Form filter bar (only when a category is active) ── #} {% if form_counts %} {% endif %} {# ── Task table ── #} {% if tasks %}
{% if not category_slug %}{% endif %} {% for task in tasks %} {% if not category_slug %} {% endif %} {% endfor %}
CategoryForm Submitter Step Submitted Actions
{% with cat=task.submission.form_definition.category %} {% if cat %} {% if cat.icon %}{% endif %} {{ cat.name }} {% else %} {% endif %} {% endwith %} {{ task.submission.form_definition.name }} {{ task.submission.submitter.get_full_name|default:task.submission.submitter.username }} {{ task.step_name }} {{ task.submission.submitted_at|date:"Y-m-d H:i" }} Review View
{% else %}
{% if active_form %} No pending approvals for {{ active_form.name }} in {{ active_category.name }}. {% elif active_category %} No pending approvals in {{ active_category.name }}. {% else %} You have no pending approvals at this time. {% endif %}
{% endif %}
{% endblock %}