Projet

Général

Profil

0001-profile-show-attribute-name-in-list-55864.patch

Benjamin Dauvergne, 27 juillet 2021 17:01

Télécharger (1,39 ko)

Voir les différences:

Subject: [PATCH] profile: show attribute name in list (#55864)

 hobo/profile/templates/profile/attributedefinition_list.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hobo/profile/templates/profile/attributedefinition_list.html
24 24
<div class="objects-list" id="attributes-list" data-reorder-url="{% url 'profile-reorder' %}">
25 25
 {% for object in object_list %}
26 26
 <div data-attribute-id="{{object.id}}" {% if object.disabled %}class="disabled"{% endif %}>
27
   <span class="handle">⣿</span> <span class="label">{{object.label}} <span class="extra-info">({{object.get_real_kind_display}})</span></span>
27
     <span class="handle">⣿</span> <span class="label">{{object.label}} <span class="extra-info">({{object.get_real_kind_display}}, "{{ object.name }}")</span></span>
28 28
   <a rel="popup" href="{% url 'profile-attribute-options' name=object.name %}">{% trans 'options' %}</a>
29 29
 </div>
30 30
 {% endfor %}
31
-