From 36feaf157619c47050653613fe5364d103e0c945 Mon Sep 17 00:00:00 2001 From: BaoLe106 Date: Sat, 5 Aug 2023 21:17:25 +0800 Subject: [PATCH] Bao's 1st commit --- templates/user/user-about.html | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/templates/user/user-about.html b/templates/user/user-about.html index 834f6cd..f1d27ac 100644 --- a/templates/user/user-about.html +++ b/templates/user/user-about.html @@ -59,16 +59,7 @@ {{user.user.first_name}}{% if user.user.last_name %} ({{user.user.last_name}}){% endif %}

{% endif %} - {% with orgs=user.organizations.all() %} - {% if orgs %} -

{{ _('From') }} - {% for org in orgs -%} - {{ org.name }} - {%- if not loop.last %}, {% endif %} - {% endfor %} -

- {% endif %} - {% endwith %} + {% if perms.judge.change_profile %} {% with notes=user.notes %} {% if notes %}