{% extends "wagtailadmin/base.html" %} {% load i18n %} {% block titletag %}{% blocktrans with newsitem=newsitem %}Delete {{ newsitem }}{% endblocktrans %}{% endblock %} {% block bodyclass %}menu-news{% endblock %} {% block content %} {% trans "Delete" as new_str %} {% include "wagtailadmin/shared/header.html" with title=new_str subtitle=newsitem icon="grip" %}
{% csrf_token %}

{% blocktrans %}Are you sure you want to delete this news item?{% endblocktrans %}

{% if newsitem.live %}

{% trans "Alternatively you can unpublish the news item. This removes the news item from public view and you can edit or publish it again later." %}

{% trans 'Unpublish it' %} {% else %} {% endif %}
{% endblock %} {% block extra_css %} {% include "wagtailadmin/pages/_editor_css.html" %} {% endblock %} {% block extra_js %} {% include "wagtailadmin/pages/_editor_js.html" %} {% endblock %}