#37378 closed Bug (fixed)
Extra empty breadcrumb in admindocs model_index.html
| Reported by: | Jacob Walls | Owned by: | Natalia Bidart |
|---|---|---|---|
| Component: | contrib.admindocs | Version: | 6.1 |
| Severity: | Release blocker | Keywords: | |
| Cc: | Antoliny | Triage Stage: | Ready for checkin |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | yes |
Description (last modified by )
This HTML typo creates an extra <li> and very likely an extra breadcrumb. Visual regression in bc03f1064e10fa247a46d4e8a98ba9b26aa4790d.
-
django/contrib/admindocs/templates/admin_doc/model_index.html
diff --git a/django/contrib/admindocs/templates/admin_doc/model_index.html b/django/contrib/admindocs/templates/admin_doc/model_index.html index 590cb34b95..82f0a9cb8a 100644
a b 6 6 {% block breadcrumbs %} 7 7 <ol class="breadcrumbs"> 8 8 <li><a href="{% url 'admin:index' %}">{% translate 'Home' %}</a></li> 9 <li><a href="{% url 'django-admindocs-docroot' %}">{% translate 'Documentation' %}</a>< li>9 <li><a href="{% url 'django-admindocs-docroot' %}">{% translate 'Documentation' %}</a></li> 10 10 <li aria-current="page">{% translate 'Models' %}</li> 11 11 </ol> 12 12 {% endblock %}
Change History (8)
comment:1 by , 3 weeks ago
| Description: | modified (diff) |
|---|---|
| Owner: | removed |
| Status: | assigned → new |
comment:2 by , 3 weeks ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:3 by , 3 weeks ago
| Owner: | changed from to |
|---|
comment:4 by , 3 weeks ago
| Patch needs improvement: | set |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:5 by , 3 weeks ago
| Has patch: | set |
|---|---|
| Patch needs improvement: | unset |
comment:6 by , 3 weeks ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
Note:
See TracTickets
for help on using tickets.
While backportable, this isn't urgent. This could be a good ticket for a newcomer to practice writing Django tests, because I suppose we will want a regression test in
TestModelIndexView.