profile: show attribute name in list (#55864)

This commit is contained in:
Benjamin Dauvergne 2021-07-27 17:00:44 +02:00
parent f673a1652b
commit fa678935a1
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ Use drag and drop with the ⣿ handles to reorder the profile fields.
<div class="objects-list" id="attributes-list" data-reorder-url="{% url 'profile-reorder' %}">
{% for object in object_list %}
<div data-attribute-id="{{object.id}}" {% if object.disabled %}class="disabled"{% endif %}>
<span class="handle"></span> <span class="label">{{object.label}} <span class="extra-info">({{object.get_real_kind_display}})</span></span>
<span class="handle"></span> <span class="label">{{object.label}} <span class="extra-info">({{object.get_real_kind_display}}, "{{ object.name }}")</span></span>
<a rel="popup" href="{% url 'profile-attribute-options' name=object.name %}">{% trans 'options' %}</a>
</div>
{% endfor %}