mirror of https://gitlab.com/bashrc2/epicyon
Only show a subset of timelines for group account
parent
c976e15d9b
commit
d94baf8644
|
@ -889,7 +889,8 @@ def htmlProfile(signingPrivateKeyPem: str,
|
||||||
theme, systemLanguage,
|
theme, systemLanguage,
|
||||||
maxLikeCount,
|
maxLikeCount,
|
||||||
signingPrivateKeyPem) + licenseStr
|
signingPrivateKeyPem) + licenseStr
|
||||||
elif selected == 'following' and not isGroup:
|
if not isGroup:
|
||||||
|
if selected == 'following':
|
||||||
profileStr += \
|
profileStr += \
|
||||||
_htmlProfileFollowing(translate, baseDir, httpPrefix,
|
_htmlProfileFollowing(translate, baseDir, httpPrefix,
|
||||||
authorized, nickname,
|
authorized, nickname,
|
||||||
|
@ -898,7 +899,7 @@ def htmlProfile(signingPrivateKeyPem: str,
|
||||||
projectVersion, ["unfollow"], selected,
|
projectVersion, ["unfollow"], selected,
|
||||||
usersPath, pageNumber, maxItemsPerPage,
|
usersPath, pageNumber, maxItemsPerPage,
|
||||||
dormantMonths, debug, signingPrivateKeyPem)
|
dormantMonths, debug, signingPrivateKeyPem)
|
||||||
elif selected == 'followers':
|
if selected == 'followers':
|
||||||
profileStr += \
|
profileStr += \
|
||||||
_htmlProfileFollowing(translate, baseDir, httpPrefix,
|
_htmlProfileFollowing(translate, baseDir, httpPrefix,
|
||||||
authorized, nickname,
|
authorized, nickname,
|
||||||
|
@ -908,7 +909,8 @@ def htmlProfile(signingPrivateKeyPem: str,
|
||||||
selected, usersPath, pageNumber,
|
selected, usersPath, pageNumber,
|
||||||
maxItemsPerPage, dormantMonths, debug,
|
maxItemsPerPage, dormantMonths, debug,
|
||||||
signingPrivateKeyPem)
|
signingPrivateKeyPem)
|
||||||
elif selected == 'roles' and not isGroup:
|
if not isGroup:
|
||||||
|
if selected == 'roles':
|
||||||
profileStr += \
|
profileStr += \
|
||||||
_htmlProfileRoles(translate, nickname, domainFull,
|
_htmlProfileRoles(translate, nickname, domainFull,
|
||||||
extraJson)
|
extraJson)
|
||||||
|
|
Loading…
Reference in New Issue