mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-04-14 11:51:06 +00:00
Show verbose column name in list view (fixes #236)
This commit is contained in:
parent
3e31974b39
commit
ce5566be82
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@
|
||||||
{% if forloop.first and attr == "__str__" %}
|
{% if forloop.first and attr == "__str__" %}
|
||||||
<th>{{ model_name|capfirst }}</th>
|
<th>{{ model_name|capfirst }}</th>
|
||||||
{% else %}
|
{% else %}
|
||||||
<th>{{ attr }}</th>
|
<th>{{ model|model_attr_verbose_name:attr|capfirst }}</th>
|
||||||
{% endif%}
|
{% endif%}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</thead>
|
</thead>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue