From 36feaf157619c47050653613fe5364d103e0c945 Mon Sep 17 00:00:00 2001 From: BaoLe106 Date: Sat, 5 Aug 2023 21:17:25 +0800 Subject: [PATCH 1/5] 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 %} From 98237e030fcf3ff832726aaefd01eba793e6c3de Mon Sep 17 00:00:00 2001 From: BaoLe106 Date: Sat, 5 Aug 2023 21:22:44 +0800 Subject: [PATCH 2/5] Bao's commit --- templates/user/user-about.html | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/user/user-about.html b/templates/user/user-about.html index f1d27ac..8693e26 100644 --- a/templates/user/user-about.html +++ b/templates/user/user-about.html @@ -59,7 +59,6 @@ {{user.user.first_name}}{% if user.user.last_name %} ({{user.user.last_name}}){% endif %}

{% endif %} - {% if perms.judge.change_profile %} {% with notes=user.notes %} {% if notes %} From d037d34255fa7367731bdf5fd5c64f46b609f09c Mon Sep 17 00:00:00 2001 From: BaoLe106 Date: Sat, 5 Aug 2023 21:30:03 +0800 Subject: [PATCH 3/5] Bao's test pull --- templates/user/user-about.html | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/user/user-about.html b/templates/user/user-about.html index 8693e26..69a47e8 100644 --- a/templates/user/user-about.html +++ b/templates/user/user-about.html @@ -59,6 +59,7 @@ {{user.user.first_name}}{% if user.user.last_name %} ({{user.user.last_name}}){% endif %}

{% endif %} + {% if perms.judge.change_profile %} {% with notes=user.notes %} {% if notes %} From d0a7a5ecc32ee1a24cc9cdb5866fac15368489b5 Mon Sep 17 00:00:00 2001 From: BaoLe106 Date: Sat, 5 Aug 2023 21:33:21 +0800 Subject: [PATCH 4/5] Bao's pull request --- templates/user/user-about.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/user/user-about.html b/templates/user/user-about.html index 69a47e8..f1d27ac 100644 --- a/templates/user/user-about.html +++ b/templates/user/user-about.html @@ -59,7 +59,7 @@ {{user.user.first_name}}{% if user.user.last_name %} ({{user.user.last_name}}){% endif %}

{% endif %} - + {% if perms.judge.change_profile %} {% with notes=user.notes %} {% if notes %} From 2ef660e108d424c47d1d35f97ed660d8e96680a0 Mon Sep 17 00:00:00 2001 From: BaoLe106 Date: Sat, 5 Aug 2023 21:48:44 +0800 Subject: [PATCH 5/5] Bao's pull request --- templates/user/user-about.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/templates/user/user-about.html b/templates/user/user-about.html index f1d27ac..ee7f395 100644 --- a/templates/user/user-about.html +++ b/templates/user/user-about.html @@ -59,7 +59,6 @@ {{user.user.first_name}}{% if user.user.last_name %} ({{user.user.last_name}}){% endif %}

{% endif %} - {% if perms.judge.change_profile %} {% with notes=user.notes %} {% if notes %} @@ -69,7 +68,6 @@ {% endif %} {% endwith %} {% endif%} - {% if user.about %}

{{ _('About') }}

{% cache 86400 'user_about' user.id MATH_ENGINE %}