{% extends "management/base.html" %} {% load i18n lucide ui %} {% block heading %}{% trans "News" %}{% endblock heading %} {% block actions %} {% if can_add_news %} {% lucide "plus" size=16 %} {% trans "New post" %} {% endif %} {% endblock actions %} {% block panel %}
{# D8's filter chips -- All/Drafts/Scheduled, plus Published for symmetry with the statuses this app actually has. #} {% include "management/_pagination.html" %}
{% if news_item %} {% include "management/_news_preview.html" %} {% else %}
{% trans "Select a post on the left to preview it here." %}
{% endif %}
{% endblock panel %}