diff --git a/webinterface.py b/webinterface.py index dadce3cc..6731d597 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1334,13 +1334,15 @@ def htmlProfile(translate: {},projectVersion: str, \ editProfileStr='' actor=profileJson['id'] - donateLink='' + donateSection='' donateUrl=getDonationUrl(profileJson) if donateUrl: - if authorized: - donateLink+='
'+translate['Donate']+'' - else: - donateLink='
' + donateSection= \ + '
\n' \ + '
\n' \ + ' \n' \ + '
\n' \ + '
\n' if not authorized: loginButton='
' @@ -1402,11 +1404,11 @@ def htmlProfile(translate: {},projectVersion: str, \ '

'+displayName+'

' \ '

@'+nickname+'@'+domainFull+'

' \ '

'+profileDescriptionShort+'

'+ \ - loginButton+donateLink+ \ + loginButton+ \ ' ' \ '' profileStr= \ - linkToTimelineStart + profileHeaderStr + linkToTimelineEnd + \ + linkToTimelineStart + profileHeaderStr + linkToTimelineEnd + donateSection + \ '
\n' \ '
' \ ' ' \