{% extends 'wagtailadmin/bulk_actions/confirmation/base.html' %} {% load i18n wagtailadmin_tags %} {% block titletag %} {% with counter_val=items|length %} {% blocktrans trimmed with counter=counter_val|intcomma count counter_val=counter_val %}Unpublish 1 page {% plural %}Unpublish {{ counter }} pages{% endblocktrans %} {% endwith %} {% endblock %} {% block header %} {% include "wagtailadmin/shared/header.html" with title=_("Unpublish") icon="doc-empty-inverse" %} {% endblock header %} {% block items_with_access %} {% if items %}
{% trans "Are you sure you want to unpublish these pages?" %}
{% with live_descendant_count=page.live_descendant_count %} {% if live_descendant_count %} {% blocktrans trimmed with counter=live_descendant_count|intcomma count counter_val=live_descendant_count %} This page has one subpage {% plural %} This page has {{ counter }} subpages {% endblocktrans %} {% endif %} {% endwith %}