{% extends "admin/change_form.html" %}
{% load url from future %}
{% load i18n %}


{% block breadcrumbs %}
    <ul class="breadcrumb">
			    <li><a href="{% url 'admin:index' %}"><i class="icon-home"></i></a> <span class="divider">/</span></li>
			    <li><a href="{% url 'admin:app_list' app_label %}">{{app_label|capfirst|escape}}</a> <span class="divider">/</span></li>
        <li><a href="{{changelist_url}}">{{opts.verbose_name_plural|capfirst}}</a><span class="divider">/</span></li>
        <li><a href="{{change_url}}">{{original|truncatewords:"18"}}</a>  <span class="divider">/</span></li>
        <li><a href="../">{% trans "History" %}</a><span class="divider">/</span></li>
        <li class="active">{% blocktrans with opts.verbose_name as verbose_name %}Revert {{verbose_name}}{% endblocktrans %} </li>
    </ul>
{% endblock %}

{% block object-tools-items %}
                {# delete history button #}
				{% if has_absolute_url %}
				<div class="span2">
					<a href="../../../r/{{ content_type_id }}/{{ object_id }}/" class="big-button">
						<i class="lookup-item"></i> {% trans "View on site" %}
					</a>
				</div>
                {% endif %}
{% endblock %}

{% block content %}
    {% with 1 as is_popup %}
        {{block.super}}
    {% endwith %}
{% endblock %}


{% block form_top %}
    <p>{% blocktrans %}Press the save button below to revert to this version of the object.{% endblocktrans %}</p>
{% endblock %}

