mirror of https://gitlab.com/bashrc2/epicyon
Improve logic for profile timelines
parent
d94baf8644
commit
a4e7ecd214
|
@ -898,7 +898,8 @@ def htmlProfile(signingPrivateKeyPem: str,
|
||||||
cachedWebfingers, personCache, extraJson,
|
cachedWebfingers, personCache, extraJson,
|
||||||
projectVersion, ["unfollow"], selected,
|
projectVersion, ["unfollow"], selected,
|
||||||
usersPath, pageNumber, maxItemsPerPage,
|
usersPath, pageNumber, maxItemsPerPage,
|
||||||
dormantMonths, debug, signingPrivateKeyPem)
|
dormantMonths, debug,
|
||||||
|
signingPrivateKeyPem)
|
||||||
if selected == 'followers':
|
if selected == 'followers':
|
||||||
profileStr += \
|
profileStr += \
|
||||||
_htmlProfileFollowing(translate, baseDir, httpPrefix,
|
_htmlProfileFollowing(translate, baseDir, httpPrefix,
|
||||||
|
@ -914,7 +915,7 @@ def htmlProfile(signingPrivateKeyPem: str,
|
||||||
profileStr += \
|
profileStr += \
|
||||||
_htmlProfileRoles(translate, nickname, domainFull,
|
_htmlProfileRoles(translate, nickname, domainFull,
|
||||||
extraJson)
|
extraJson)
|
||||||
elif selected == 'skills' and not isGroup:
|
elif selected == 'skills':
|
||||||
profileStr += \
|
profileStr += \
|
||||||
_htmlProfileSkills(translate, nickname, domainFull, extraJson)
|
_htmlProfileSkills(translate, nickname, domainFull, extraJson)
|
||||||
# elif selected == 'shares':
|
# elif selected == 'shares':
|
||||||
|
|
Loading…
Reference in New Issue