Code

Ticket #8398: 8398.diff

File 8398.diff, 681 bytes (added by marinho, 6 years ago)
Line 
1Index: django/contrib/admin/templates/admin/change_list_results.html
2===================================================================
3--- django/contrib/admin/templates/admin/change_list_results.html       (revisão 8434)
4+++ django/contrib/admin/templates/admin/change_list_results.html       (cópia de trabalho)
5@@ -2,7 +2,7 @@
6 <table cellspacing="0">
7 <thead>
8 <tr>
9-{% for header in result_headers %}<th{{ header.class_attrib }}>
10+{% for header in result_headers %}<th{% if header.class_attrib %}{{ header.class_attrib }}{% endif %}>
11 {% if header.sortable %}<a href="{{ header.url }}">{% endif %}
12 {{ header.text|capfirst }}
13 {% if header.sortable %}</a>{% endif %}</th>{% endfor %}