{% extends "admin/base_site.html" %} {% load i18n %} {% block extrahead %} {{ block.super }} {% endblock %} {% block content %}
{% if error %}

{{ error }}

{% endif %}
Clear
{% csrf_token %} {% if query_string %}{% endif %} {% if can_delete and threads %}
Deleting a parent also removes nested subagent threads.
{% endif %}
{% if can_delete and threads %} {% endif %} {% for thread in threads %} {% if can_delete %} {% endif %} {% empty %} {% endfor %}
Thread User Status Messages Updated Preview
{{ thread.thread_id }} {% if thread.is_child %}
subagent{% if thread.child_label %} · {{ thread.child_label }}{% endif %}
{% endif %}
{% if thread.user %} {{ thread.user.get_username }} {% if thread.user.get_full_name %} ({{ thread.user.get_full_name }}) {% endif %} {% elif thread.owner_id %} {{ thread.owner_id }} {% else %} — {% endif %} {{ thread.status|default:"—" }} {{ thread.message_count }} {{ thread.updated_at|default:thread.created_at|default:"—" }} {{ thread.last_message_preview|default:"—" }}
{% if error %}No threads loaded.{% else %}No threads found.{% endif %}
{% if paginator.num_pages > 1 %}

{% if page_obj.has_previous %} Previous {% endif %} Page {{ page_obj.number }} of {{ paginator.num_pages }} ({{ paginator.count }} threads) {% if page_obj.has_next %} Next {% endif %}

{% endif %}
{% endblock %}