{% extends "layouts/ap-reader.njk" %} {% from "heading/macro.njk" import heading with context %} {% from "prose/macro.njk" import prose with context %} {% block readercontent %} {# Toolbar — compose + mark read + clear all #} {% set msgBase = mountPath + "/admin/reader/messages" %}
{{ __("activitypub.messages.compose") }} {% if unreadCount > 0 %}
{% endif %}
{# Conversation partner sidebar #} {% if partners.length > 0 %} {% endif %} {# Messages list #}
{% if items.length > 0 %}
{% for item in items %} {% include "partials/ap-message-card.njk" %} {% endfor %}
{# Pagination — preserve active partner #} {% if before %} {% endif %} {% else %} {{ prose({ text: __("activitypub.messages.empty") }) }} {% endif %}
{% endblock %}