diff options
| author | antoliny0919 <antoliny0919@gmail.com> | 2025-05-22 15:56:51 +0900 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-10-14 08:10:43 -0400 |
| commit | bc03f1064e10fa247a46d4e8a98ba9b26aa4790d (patch) | |
| tree | fe2ba060988bc4d7e124e0dce536009fbea0e21f /django/contrib/admindocs/templates/admin_doc/view_detail.html | |
| parent | 407ab793573ce82c93cfdc86e5a0a7fa804f60f5 (diff) | |
Fixed #34041 -- Added aria-current attribute to admin breadcrumbs.
Co-authored by: farita1699 <uwanjerry25@gmail.com>
Diffstat (limited to 'django/contrib/admindocs/templates/admin_doc/view_detail.html')
| -rw-r--r-- | django/contrib/admindocs/templates/admin_doc/view_detail.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/django/contrib/admindocs/templates/admin_doc/view_detail.html b/django/contrib/admindocs/templates/admin_doc/view_detail.html index 5a5b47247e..a9dd9a5ecc 100644 --- a/django/contrib/admindocs/templates/admin_doc/view_detail.html +++ b/django/contrib/admindocs/templates/admin_doc/view_detail.html @@ -2,12 +2,12 @@ {% load i18n %} {% block breadcrumbs %} -<div class="breadcrumbs"> -<a href="{% url 'admin:index' %}">{% translate 'Home' %}</a> -› <a href="{% url 'django-admindocs-docroot' %}">{% translate 'Documentation' %}</a> -› <a href="{% url 'django-admindocs-views-index' %}">{% translate 'Views' %}</a> -› {{ name }} -</div> +<ol class="breadcrumbs"> +<li><a href="{% url 'admin:index' %}">{% translate 'Home' %}</a></li> +<li><a href="{% url 'django-admindocs-docroot' %}">{% translate 'Documentation' %}</a></li> +<li><a href="{% url 'django-admindocs-views-index' %}">{% translate 'Views' %}</a></li> +<li aria-current="page">{{ name }}</li> +</ol> {% endblock %} {% block title %}{% blocktranslate %}View: {{ name }}{% endblocktranslate %}{% endblock %} |
