profile: show attribute name in list (#55864)
This commit is contained in:
parent
f673a1652b
commit
fa678935a1
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue