{% extends base_template %} {% load i18n admin_static admin_modify admin_urls %} {% load url from future %} {% block extrahead %} {{ block.super }} {% endblock %} {% block object-tools-items %} {% if change and not is_popup %} {% if has_publish_permission %} {% if publish_btn_live %}
  • Publish Draft
  • {% endif %} {% if unpublish_btn %}
  • Unpublish
  • {% endif %} {% if revert_btn %}
  • Revert to Published
  • {% endif %} {% if preview_draft_btn %}
  • Preview Draft
  • {% endif %} {% endif %} {% endif %} {{ block.super }} {% endblock %} {% block object-tools %} {{ block.super }}
    {% for url,name,code,status in language_tabs %} {% if status == 'current' %} {{ name }}{% if current_is_translated and allow_deletion %} {% endif %} {% else %} {{ name }} {% if status == 'available' and allow_deletion %} {% endif %} {% endif %} {% endfor %}
    {% endblock %}