{% load i18n %}
{% include "wagtailadmin/shared/header.html" with title=_("Publish page") icon="clipboard-list" %}

<div class="nice-padding">
    <p>
        {% if needs_changes %}
            {% blocktrans trimmed %}
                This page was marked as needing changes at <strong>{{ task }}</strong> in <strong>{{ workflow }}</strong>.
            {% endblocktrans %}
        {% else %}
            {% blocktrans trimmed %}
                This page is currently at <strong>{{ task }}</strong> in <strong>{{ workflow }}</strong>.
            {% endblocktrans %}
        {% endif %}
    </p>
    <p>{% trans 'Publishing this page will cancel the current workflow.' %}</p>
    <p>{% trans 'Would you still like to publish this page?' %}</p>
    <button type="submit" class="button" data-confirm-cancellation>{% trans 'Publish' %}</button>
    <button type="submit" class="button no" data-cancel-dialog>{% trans 'Cancel' %}</button>
</div>
