Skip to content

Commit 6e3ca65

Browse files
committed
Used app_config.verbose_name instead of app_label|capfirst.
An admin view performed the capitalization in the template, unlike all others. Refs #10436.
1 parent d8d8377 commit 6e3ca65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django/contrib/admin/templates/admin/delete_confirmation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{% block breadcrumbs %}
77
<div class="breadcrumbs">
88
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
9-
&rsaquo; <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ app_label|capfirst }}</a>
9+
&rsaquo; <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ opts.app_config.verbose_name }}</a>
1010
&rsaquo; <a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst|escape }}</a>
1111
&rsaquo; <a href="{% url opts|admin_urlname:'change' object.pk|admin_urlquote %}">{{ object|truncatewords:"18" }}</a>
1212
&rsaquo; {% trans 'Delete' %}

0 commit comments

Comments
 (0)