diff --git a/webinterface.py b/webinterface.py index 7c19cf24..4dbc710c 100644 --- a/webinterface.py +++ b/webinterface.py @@ -3421,6 +3421,19 @@ def htmlProfile(defaultTimeline: str, if isSystemAccount(nickname): profileHeaderStr = '
\n' profileHeaderStr += '
' + loginButton + '
\n' + + profileHeaderStr += '\n' + profileHeaderStr += ' \n' + profileHeaderStr += ' \n' + profileHeaderStr += ' \n' + profileHeaderStr += ' \n' + profileHeaderStr += ' \n' + profileHeaderStr += ' \n' + profileHeaderStr += ' \n' + profileHeaderStr += ' \n' + profileHeaderStr += ' \n' + profileFooterStr += ' \n' + profileFooterStr += ' \n' + profileFooterStr += ' \n' + profileFooterStr += '
\n' + # TODO add links + profileHeaderStr += ' \n' else: profileHeaderStr = '
\n' profileHeaderStr += '
\n' @@ -3538,8 +3551,21 @@ def htmlProfile(defaultTimeline: str, htmlProfileShares(actor, translate, nickname, domainFull, extraJson) + licenseStr + + # Footer which is only used for system accounts + profileFooterStr = '' + if isSystemAccount(nickname): + profileFooterStr = '
\n' + # TODO add newswire + profileFooterStr += '
\n' + profileStr = \ - htmlHeader(cssFilename, profileStyle) + profileStr + htmlFooter() + htmlHeader(cssFilename, profileStyle) + \ + profileStr + profileFooterStr + htmlFooter() return profileStr