{% extends "framework_modern.html" %} {% load static %} {# List title for empty text - defaults to "items", should be overridden by child templates #} {% block list_title %}items{% endblock %} {% block content %} {% block action_modals %} {% endblock action_modals %}

{% block page_title %}{{ page_title|default:"Items" }}{% endblock %}

{% block action_button %} {# Can be overridden by including action buttons for entity type #} {% endblock %}
{% block description %} {% endblock %}
{% if list_mode == "combined" %} {# ===== COMBINED MODE: Single list without tabs ===== #}
{% include "collections/_paginated_list_partial.html" with empty_text=list_title|default:"items" show_review_badge=True %}
{% else %} {# ===== TABBED MODE: Reviewed/Unreviewed tabs (default) ===== #}
{# No items found message - only show after both tabs have loaded #}

No items found.

{# Tabs Navigation #}
{# Reviewed Tab Content #}
{% include "collections/_paginated_list_partial.html" with empty_text="reviewed "|add:list_title|default:"items" show_review_badge=True always_show_badge=True %}
{# Unreviewed Tab Content #}
{% include "collections/_paginated_list_partial.html" with empty_text="unreviewed "|add:list_title|default:"items" %}
{% endif %}
{% endblock content %}