Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #16912 -- Fixed breadcrumb styling in a couple of admin pages, …

…broken since r16857. Thanks Florian Apolloner for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16887 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit bb641631e5e67d5bef431bee39746a7418b6af1e 1 parent 49e019d
@ramiro ramiro authored
View
1  django/contrib/admin/templates/admin/auth/user/change_password.html
@@ -11,6 +11,7 @@
{% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %}
{% if not is_popup %}
{% block breadcrumbs %}
+<div class="breadcrumbs">
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
&rsaquo; <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ opts.app_label|capfirst|escape }}</a>
&rsaquo; <a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst }}</a>
View
1  django/contrib/admin/templates/admin/change_form.html
@@ -17,6 +17,7 @@
{% if not is_popup %}
{% block breadcrumbs %}
+<div class="breadcrumbs">
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
&rsaquo; <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ app_label|capfirst|escape }}</a>
&rsaquo; {% if has_change_permission %}<a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %}
Please sign in to comment.
Something went wrong with that request. Please try again.