admin: show object's docstring on inheritance based lists

This commit is contained in:
Jens Langhammer
2020-05-20 13:47:58 +02:00
parent c61c84e9f3
commit 969da05437
16 changed files with 140 additions and 24 deletions

View File

@ -28,7 +28,12 @@
{% for type, name in types.items %}
<li>
<a class="pf-c-dropdown__menu-item"
href="{% url 'passbook_admin:property-mapping-create' %}?type={{ type }}&back={{ request.get_full_path }}">{{ name }}</a>
href="{% url 'passbook_admin:property-mapping-create' %}?type={{ type }}&back={{ request.get_full_path }}">
{{ name|verbose_name }}<br>
<small>
{{ trans|doc }}
</small>
</a>
</li>
{% endfor %}
</ul>
@ -86,7 +91,12 @@
{% for type, name in types.items %}
<li>
<a class="pf-c-dropdown__menu-item"
href="{% url 'passbook_admin:property-mapping-create' %}?type={{ type }}&back={{ request.get_full_path }}">{{ name }}</a>
href="{% url 'passbook_admin:property-mapping-create' %}?type={{ type }}&back={{ request.get_full_path }}">
{{ name|verbose_name }}<br>
<small>
{{ trans|doc }}
</small>
</a>
</li>
{% endfor %}
</ul>