-
{% block object-tools-items %}
- {% trans "History" %} {% if original.is_published and original.url %}
- {% trans "View on site" %} {% endif %} {% endblock %}
{% extends "admin/polymorphic_tree/change_form.html" %} {% load i18n admin_modify %} {% comment %} Override the content block, so all templates will have the same set of blocks. This adds: * after_first_fieldset * the check of "original.is_published" in the toolbar And Django 1.3 also gets: * object-tools-items * field_sets * inline_field_sets * submit_buttons_top * submit_buttons_bottom {% endcomment %} {% block content %}