-
Notifications
You must be signed in to change notification settings - Fork 239
Expand file tree
/
Copy pathrevision_form.html
More file actions
24 lines (19 loc) · 1.24 KB
/
revision_form.html
File metadata and controls
24 lines (19 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends "admin/feincms/item_editor.html" %}
{% load i18n admin_urls %}
{# override of breadcrumbs only required up to Reversion 2.0 #}
{% block breadcrumbs %}
<div class="breadcrumbs">
<a href="{% url 'admin:index' %}">{% trans "Home" %}</a> ›
<a href="{% url 'admin:app_list' opts.app_label %}">{{opts.app_config.verbose_name}}</a> ›
<a href="{% url opts|admin_urlname:'changelist' %}">{{opts.verbose_name_plural|capfirst}}</a> ›
<a href="{% url opts|admin_urlname:'change' object_id %}">{{original|truncatewords:"18"}}</a> ›
<a href="{% url opts|admin_urlname:'history' object_id %}">{% trans "History" %}</a> ›
{% blocktrans with opts.verbose_name as verbose_name %}Revert {{verbose_name}}{% endblocktrans %}
</div>
{% endblock %}
{% block object-tools %}{% endblock %}
{% block form_top %}
<p>{% blocktrans %}Press the save button below to revert to this version of the object.{% endblocktrans %}</p>
{% endblock %}
{% block submit_buttons_top %}{% with is_popup=1 %}{{block.super}}{% endwith %}{% endblock %}
{% block submit_buttons_bottom %}{% with is_popup=1 %}{{block.super}}{% endwith %}{% endblock %}