From c976e15d9b0f7dbda792b7af1336266ff85496d6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 21 Sep 2021 18:31:44 +0100 Subject: [PATCH] Don't show some timelines on profile for group account --- webapp_profile.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp_profile.py b/webapp_profile.py index d38882b51..73e52c339 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -889,7 +889,7 @@ def htmlProfile(signingPrivateKeyPem: str, theme, systemLanguage, maxLikeCount, signingPrivateKeyPem) + licenseStr - elif selected == 'following': + elif selected == 'following' and not isGroup: profileStr += \ _htmlProfileFollowing(translate, baseDir, httpPrefix, authorized, nickname, @@ -908,11 +908,11 @@ def htmlProfile(signingPrivateKeyPem: str, selected, usersPath, pageNumber, maxItemsPerPage, dormantMonths, debug, signingPrivateKeyPem) - elif selected == 'roles': + elif selected == 'roles' and not isGroup: profileStr += \ _htmlProfileRoles(translate, nickname, domainFull, extraJson) - elif selected == 'skills': + elif selected == 'skills' and not isGroup: profileStr += \ _htmlProfileSkills(translate, nickname, domainFull, extraJson) # elif selected == 'shares':