Code

Ticket #893: admin-templates2.diff

File admin-templates2.diff, 1.3 KB (added by deric <deric@…>, 8 years ago)

svn diff delete_confirmation.html object_history.html

Line 
1Index: delete_confirmation.html
2===================================================================
3--- delete_confirmation.html    (revision 1489)
4+++ delete_confirmation.html    (working copy)
5@@ -1,8 +1,7 @@
6 {% extends "admin/base_site" %}
7 {% load i18n %}
8-
9+{% block userlinks %}<a href="../../../../password_change/">{% trans 'Change password' %}</a> / <a href="../../../../logout/">{% trans 'Log out' %}</a>{% endblock %}
10 {% block content %}
11-
12 {% if perms_lacking %}
13     <p>{% blocktrans %}Deleting the {{ object_name }} '{{ object }}' would result in deleting related objects, but your account doesn't have permission to delete the following types of objects:{% endblocktrans %}</p>
14     <ul>
15Index: object_history.html
16===================================================================
17--- object_history.html (revision 1489)
18+++ object_history.html (working copy)
19@@ -1,6 +1,6 @@
20 {% extends "admin/base_site" %}
21 {% load i18n %}
22-
23+{% block userlinks %}<a href="../../../../password_change/">{% trans 'Change password' %}</a> / <a href="../../../../logout/">{% trans 'Log out' %}</a>{% endblock %}
24 {% block breadcrumbs %}
25 <div class="breadcrumbs"><a href="../../../../">{% trans 'Home' %}</a> &rsaquo; <a href="../../">{{ module_name }}</a> &rsaquo; <a href="../">{{ object|truncatewords:"18" }}</a> &rsaquo; {% trans 'History' %}</div>
26 {% endblock %}