Improve logic for profile timelines

main
Bob Mottram 2021-09-21 18:47:25 +01:00
parent d94baf8644
commit a4e7ecd214
1 changed files with 3 additions and 2 deletions

View File

@ -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':