mirror of https://gitlab.com/bashrc2/epicyon
Don't show some timelines on profile for group account
parent
2fbe471e04
commit
c976e15d9b
|
@ -889,7 +889,7 @@ def htmlProfile(signingPrivateKeyPem: str,
|
||||||
theme, systemLanguage,
|
theme, systemLanguage,
|
||||||
maxLikeCount,
|
maxLikeCount,
|
||||||
signingPrivateKeyPem) + licenseStr
|
signingPrivateKeyPem) + licenseStr
|
||||||
elif selected == 'following':
|
elif selected == 'following' and not isGroup:
|
||||||
profileStr += \
|
profileStr += \
|
||||||
_htmlProfileFollowing(translate, baseDir, httpPrefix,
|
_htmlProfileFollowing(translate, baseDir, httpPrefix,
|
||||||
authorized, nickname,
|
authorized, nickname,
|
||||||
|
@ -908,11 +908,11 @@ def htmlProfile(signingPrivateKeyPem: str,
|
||||||
selected, usersPath, pageNumber,
|
selected, usersPath, pageNumber,
|
||||||
maxItemsPerPage, dormantMonths, debug,
|
maxItemsPerPage, dormantMonths, debug,
|
||||||
signingPrivateKeyPem)
|
signingPrivateKeyPem)
|
||||||
elif selected == 'roles':
|
elif selected == 'roles' and not isGroup:
|
||||||
profileStr += \
|
profileStr += \
|
||||||
_htmlProfileRoles(translate, nickname, domainFull,
|
_htmlProfileRoles(translate, nickname, domainFull,
|
||||||
extraJson)
|
extraJson)
|
||||||
elif selected == 'skills':
|
elif selected == 'skills' and not isGroup:
|
||||||
profileStr += \
|
profileStr += \
|
||||||
_htmlProfileSkills(translate, nickname, domainFull, extraJson)
|
_htmlProfileSkills(translate, nickname, domainFull, extraJson)
|
||||||
# elif selected == 'shares':
|
# elif selected == 'shares':
|
||||||
|
|
Loading…
Reference in New Issue