#34512: Admin missing breadcrumbs in app index
---------------------------------+------------------------------------
     Reporter:  Adam             |                    Owner:  nobody
         Type:  Bug              |                   Status:  new
    Component:  contrib.admin    |                  Version:  4.2
     Severity:  Release blocker  |               Resolution:
     Keywords:                   |             Triage Stage:  Accepted
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------
Changes (by Mariusz Felisiak):

 * cc: Thibaud Colas (added)


Comment:

 Adam, thanks for the report! What do you think about the following patch?
 An empty `<nav>` shouldn't be an issue.
 {{{#!diff
 diff --git a/django/contrib/admin/templates/admin/index.html
 b/django/contrib/admin/templates/admin/index.html
 index af4f26dec5..5674264093 100644
 --- a/django/contrib/admin/templates/admin/index.html
 +++ b/django/contrib/admin/templates/admin/index.html
 @@ -7,7 +7,7 @@

  {% block bodyclass %}{{ block.super }} dashboard{% endblock %}

 -{% block nav-breadcrumbs %}{% endblock %}
 +{% block breadcrumbs %}{% endblock %}

  {% block nav-sidebar %}{% endblock %}


 }}}

 Would you like to prepare a patch via GitHub PR? (a regression test is
 required.)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34512#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187b982c715-6279220f-1a1a-4714-9dc9-7ddb8d329b95-000000%40eu-central-1.amazonses.com.

Reply via email to