diff --git a/django/contrib/admin/templates/admin/change_form.html b/django/contrib/admin/templates/admin/change_form.html
index 7c96628..c2fe812 100644
a
|
b
|
|
25 | 25 | {% block content %}<div id="content-main"> |
26 | 26 | {% block object-tools %} |
27 | 27 | {% if change %}{% if not is_popup %} |
28 | | <ul class="object-tools"><li><a href="history/" class="historylink">{% trans "History" %}</a></li> |
29 | | {% if has_absolute_url %}<li><a href="../../../r/{{ content_type_id }}/{{ object_id }}/" class="viewsitelink">{% trans "View on site" %}</a></li>{% endif%} |
| 28 | <ul class="object-tools"> |
| 29 | {% block object-tools-items %} |
| 30 | <li><a href="history/" class="historylink">{% trans "History" %}</a></li> |
| 31 | {% if has_absolute_url %}<li><a href="../../../r/{{ content_type_id }}/{{ object_id }}/" class="viewsitelink">{% trans "View on site" %}</a></li>{% endif%} |
| 32 | {% endblock %} |
30 | 33 | </ul> |
31 | 34 | {% endif %}{% endif %} |
32 | 35 | {% endblock %} |
diff --git a/django/contrib/admin/templates/admin/change_list.html b/django/contrib/admin/templates/admin/change_list.html
index cb4bae3..3dfe467 100644
a
|
b
|
|
58 | 58 | {% block object-tools %} |
59 | 59 | {% if has_add_permission %} |
60 | 60 | <ul class="object-tools"> |
61 | | <li> |
62 | | <a href="add/{% if is_popup %}?_popup=1{% endif %}" class="addlink"> |
63 | | {% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %} |
64 | | </a> |
65 | | </li> |
| 61 | {% block object-tools-items %} |
| 62 | <li> |
| 63 | <a href="add/{% if is_popup %}?_popup=1{% endif %}" class="addlink"> |
| 64 | {% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %} |
| 65 | </a> |
| 66 | </li> |
| 67 | {% endblock %} |
66 | 68 | </ul> |
67 | 69 | {% endif %} |
68 | 70 | {% endblock %} |