From 60f04b63c44a8f9daebef713321decaf90944db3 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 24 Jan 2025 13:02:00 +0100 Subject: 🐛 fix view person permissions (refs #6146) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/templates/ishtar/sheet_ishtaruser.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/ishtar/sheet_ishtaruser.html b/ishtar_common/templates/ishtar/sheet_ishtaruser.html index d1d98997c..19c55ee0e 100644 --- a/ishtar_common/templates/ishtar/sheet_ishtaruser.html +++ b/ishtar_common/templates/ishtar/sheet_ishtaruser.html @@ -65,7 +65,16 @@ {% endif %} - {% field_flex _("Profile(s)") item.person.profiles_list %} +
+
{% trans "Profile(s)" %}
+
+ {% for profile in item.person.profiles.all %} + {% if forloop.counter0 %}; {% endif %}{{profile}}   + + + {% endfor %} +
+
{% if item.is_ishtaradmin %}