Donate button

merge-requests/8/head
Bob Mottram 2020-10-03 10:15:48 +01:00
parent 7222c8cf9f
commit dd90862e36
1 changed files with 6 additions and 7 deletions

View File

@ -3111,9 +3111,9 @@ def htmlProfile(defaultTimeline: str,
donateSection += ' <center>\n' donateSection += ' <center>\n'
if donateUrl: if donateUrl:
donateSection += \ donateSection += \
' <p><a href="' + donateUrl + \ ' <p><a class="donateButton" href="' + donateUrl + \
'"><button class="donateButton">' + translate['Donate'] + \ '">' + translate['Donate'] + \
'</button></a></p>\n' '</a></p>\n'
if emailAddress: if emailAddress:
donateSection += \ donateSection += \
'<p>' + translate['Email'] + ': <a href="mailto:' + \ '<p>' + translate['Email'] + ': <a href="mailto:' + \
@ -5189,7 +5189,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
htmlStr += \ htmlStr += \
'\n <center>\n' + \ '\n <center>\n' + \
' <img class="leftColImg" loading="lazy" src="/users/' + \ ' <img class="leftColImg" loading="lazy" src="/users/' + \
nickname + '/left_col_image.png" />\n' + \ nickname + '/left_col_image.png" alt="" />\n' + \
' </center>\n' ' </center>\n'
if editImageClass == 'leftColEdit': if editImageClass == 'leftColEdit':
@ -5300,7 +5300,7 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str,
htmlStr += \ htmlStr += \
'\n <center>\n' + \ '\n <center>\n' + \
' <img class="rightColImg" loading="lazy" src="/users/' + \ ' <img class="rightColImg" loading="lazy" src="/users/' + \
nickname + '/right_col_image.png" />\n' + \ nickname + '/right_col_image.png" alt="" />\n' + \
' </center>\n' ' </center>\n'
if editImageClass == 'rightColEdit': if editImageClass == 'rightColEdit':
@ -5612,7 +5612,6 @@ def htmlTimeline(defaultTimeline: str,
# banner and row of buttons # banner and row of buttons
tlStr += \ tlStr += \
'<a href="/users/' + nickname + '" title="' + \ '<a href="/users/' + nickname + '" title="' + \
translate['Switch to profile view'] + '" alt="' + \
translate['Switch to profile view'] + '" >\n' translate['Switch to profile view'] + '" >\n'
tlStr += '<div class="timeline-banner">' tlStr += '<div class="timeline-banner">'
tlStr += '</div>\n</a>\n' tlStr += '</div>\n</a>\n'