{% extends 'django_forms_workflows/base.html' %} {% load forms_workflows_tags %} {% block title %}Approval Inbox - {{ site_name }}{% endblock %} {% block extra_css %} {% 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 with search (only when a category is active) ── #} {% if form_counts %} {% elif not category_counts %} {# ── Search bar when no filters exist at all ── #}
{% endif %} {# ── Hidden PDF bulk export form (populated by JS before submit) ── #} {% if any_pdf_exportable %}
{% csrf_token %}
{% endif %} {# ── Bulk export form (Excel + PDF buttons) ── #} {% if any_exportable or any_pdf_exportable %}
{% csrf_token %}
{% if any_exportable %} {% endif %} {% if any_pdf_exportable %} {% endif %}
{% endif %} {# ── Task table — body populated via server-side AJAX ── #}
{% if any_exportable or any_pdf_exportable %}{% endif %} {% if not category_slug %}{% endif %} {% for field in form_fields %}{% endfor %}
CategoryActions Form Submitter Step Submitted{{ field.field_label }}
{% if any_exportable or any_pdf_exportable %}
{% endif %}
{% if form_fields %} {# Column picker dropdown – hidden in-place; JS moves it next to the search box #} {% endif %} {% endblock %} {% block extra_js %} {% endblock %}