{% extends "management/base.html" %} {% load i18n lucide ui %} {% block heading %}{{ news_item.title }}{% endblock heading %} {% block topbar_context %} {% if news_item.status == "draft" %} {% trans "Draft" %} {% elif news_item.is_scheduled %} {% blocktrans with date=news_item.published_at %}Scheduled for {{ date }}{% endblocktrans %} {% else %} {% blocktrans with date=news_item.published_at %}Published {{ date }}{% endblocktrans %} {% endif %} {{ news_item.get_visibility_display }} {% endblock topbar_context %} {% block actions %} {% if can_edit %} {% lucide "pencil" size=16 %} {% trans "Edit" %}
{% endif %} {% if can_publish %} {% if news_item.status == "draft" %}
{% else %}
{% endif %} {% endif %} {% endblock actions %} {% block panel %} {% include "management/_news_preview.html" with show_header=False %} {% endblock panel %}