Scope for container

main
Bob Mottram 2020-10-25 22:32:20 +00:00
parent b94ed9522f
commit 1b72e03584
1 changed files with 5 additions and 5 deletions

View File

@ -3508,9 +3508,9 @@ def htmlProfile(defaultTimeline: str,
profileStr = \ profileStr = \
linkToTimelineStart + profileHeaderStr + \ linkToTimelineStart + profileHeaderStr + \
linkToTimelineEnd + donateSection linkToTimelineEnd + donateSection
profileStr += '<div class="container" id="buttonheader">\n'
profileStr += ' <center>'
if not isSystemAccount(nickname): if not isSystemAccount(nickname):
profileStr += '<div class="container" id="buttonheader">\n'
profileStr += ' <center>'
profileStr += \ profileStr += \
' <a href="' + usersPath + '#buttonheader"><button class="' + \ ' <a href="' + usersPath + '#buttonheader"><button class="' + \
postsButton + '"><span>' + translate['Posts'] + \ postsButton + '"><span>' + translate['Posts'] + \
@ -3536,9 +3536,9 @@ def htmlProfile(defaultTimeline: str,
' <a href="' + usersPath + '/shares#buttonheader">' + \ ' <a href="' + usersPath + '/shares#buttonheader">' + \
'<button class="' + sharesButton + '"><span>' + \ '<button class="' + sharesButton + '"><span>' + \
translate['Shares'] + ' </span></button></a>' translate['Shares'] + ' </span></button></a>'
profileStr += logoutStr + editProfileStr profileStr += logoutStr + editProfileStr
profileStr += ' </center>' profileStr += ' </center>'
profileStr += '</div>' profileStr += '</div>'
profileStr += followApprovalsSection profileStr += followApprovalsSection