mirror of https://gitlab.com/bashrc2/epicyon
Don't show posts button for system accounts
parent
ea4f7c06f3
commit
18e9cd602c
|
@ -3449,11 +3449,11 @@ def htmlProfile(defaultTimeline: str,
|
||||||
linkToTimelineEnd + donateSection
|
linkToTimelineEnd + donateSection
|
||||||
profileStr += '<div class="container" id="buttonheader">\n'
|
profileStr += '<div class="container" id="buttonheader">\n'
|
||||||
profileStr += ' <center>'
|
profileStr += ' <center>'
|
||||||
|
if not isSystemAccount(nickname):
|
||||||
profileStr += \
|
profileStr += \
|
||||||
' <a href="' + usersPath + '#buttonheader"><button class="' + \
|
' <a href="' + usersPath + '#buttonheader"><button class="' + \
|
||||||
postsButton + '"><span>' + translate['Posts'] + \
|
postsButton + '"><span>' + translate['Posts'] + \
|
||||||
' </span></button></a>'
|
' </span></button></a>'
|
||||||
if not isSystemAccount(nickname):
|
|
||||||
profileStr += \
|
profileStr += \
|
||||||
' <a href="' + usersPath + '/following#buttonheader">' + \
|
' <a href="' + usersPath + '/following#buttonheader">' + \
|
||||||
'<button class="' + followingButton + '"><span>' + \
|
'<button class="' + followingButton + '"><span>' + \
|
||||||
|
|
Loading…
Reference in New Issue