{% load i18n admin_static admin_urls %} {% if add_current_request_info %} {% if current_request %} {% with current_state=current_request %} {% include "publisher/includes/current_state_info.html" %} {% endwith %} {% else %}

{% trans "(No pending publisher request)" %}

{% endif %} {% endif %}
{% if POST_ASK_PUBLISH_KEY or POST_ASK_UNPUBLISH_KEY %} {% if POST_ASK_PUBLISH_KEY %} {% endif %} {% if POST_ASK_UNPUBLISH_KEY %} {% endif %} {% elif POST_REPLY_ACCEPT_KEY and POST_REPLY_REJECT_KEY %} {% if action == "publish" %}{# see publisher/constants.ACTION_PUBLISH #} {% elif action == "unpublish" %}{# see publisher/constants.ACTION_UNPUBLISH #} {% elif not action %}

ERROR: No 'action' in context!

{% endif %} {% elif POST_SAVE_AND_PUBLISH_KEY %} {% endif %}