Don't show some timelines on profile for group account

merge-requests/30/head
Bob Mottram 2021-09-21 18:31:05 +01:00
parent b566f14e66
commit 2fbe471e04
1 changed files with 15 additions and 13 deletions

View File

@ -827,6 +827,7 @@ def htmlProfile(signingPrivateKeyPem: str,
' <a href="' + usersPath + '#buttonheader"><button class="' + \
postsButton + '"><span>' + translate['Posts'] + \
' </span></button></a>'
if not isGroup:
profileStr += \
' <a href="' + usersPath + '/following#buttonheader">' + \
'<button class="' + followingButton + '"><span>' + \
@ -835,6 +836,7 @@ def htmlProfile(signingPrivateKeyPem: str,
' <a href="' + usersPath + '/followers#buttonheader">' + \
'<button class="' + followersButton + \
'"><span>' + followersStr + ' </span></button></a>'
if not isGroup:
profileStr += \
' <a href="' + usersPath + '/roles#buttonheader">' + \
'<button class="' + rolesButton + '"><span>' + \