From 286c9c1d6f6f658dcd4d89c21cdaa9d415266112 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 26 Jul 2020 09:46:22 +0100 Subject: [PATCH] Line endings --- webinterface.py | 60 ++++++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/webinterface.py b/webinterface.py index 7edf15763..7d6c15fb6 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5504,61 +5504,61 @@ def htmlPersonOptions(translate: {}, baseDir: str, translate['Donate'] + '' optionsStr = htmlHeader(cssFilename, profileStyle) - optionsStr += '
' - optionsStr += '
' - optionsStr += '
' - optionsStr += ' ' - optionsStr += ' ' + optionsStr += '
\n' + optionsStr += '
\n' + optionsStr += '
\n' + optionsStr += ' \n' + optionsStr += ' \n' optionsStr += \ '

' + translate['Options for'] + \ ' @' + getNicknameFromActor(optionsActor) + '@' + \ - optionsDomain + '

' + optionsDomain + '

\n' if emailAddress: optionsStr += \ '

' + translate['Email'] + \ ': ' + emailAddress + '

' + emailAddress + '">' + emailAddress + '

\n' if xmppAddress: optionsStr += \ '

' + translate['XMPP'] + \ - ': ' + xmppAddress + '

' + ': ' + xmppAddress + '

\n' if matrixAddress: optionsStr += \ '

' + translate['Matrix'] + ': ' + \ - matrixAddress + '

' + matrixAddress + '

\n' if ssbAddress: optionsStr += \ - '

SSB: ' + ssbAddress + '

' + '

SSB: ' + ssbAddress + '

\n' if blogAddress: optionsStr += \ '

Blog: ' + \ - blogAddress + '

' + blogAddress + '

\n' if toxAddress: optionsStr += \ - '

Tox: ' + toxAddress + '

' + '

Tox: ' + toxAddress + '

\n' if PGPfingerprint: optionsStr += '

PGP: ' + \ - PGPfingerprint.replace('\n', '
') + '

' + PGPfingerprint.replace('\n', '
') + '

\n' if PGPpubKey: optionsStr += '

' + \ - PGPpubKey.replace('\n', '
') + '

' + PGPpubKey.replace('\n', '
') + '

\n' optionsStr += '
' + originPathStr + '/personoptions">\n' optionsStr += ' ' + str(pageNumber) + '">\n' optionsStr += ' ' + optionsActor + '">\n' optionsStr += ' ' + optionsProfileUrl + '">\n' if optionsNickname: handle = optionsNickname + '@' + optionsDomainFull petname = getPetName(baseDir, nickname, domain, handle) optionsStr += \ translate['Petname'] + ': ' + \ '' \ + petname + '">\n' \ '
' + translate['Submit'] + '
\n' if isFollowingActor(baseDir, nickname, domain, optionsActor): if receivingCalendarEvents(baseDir, nickname, domain, @@ -5582,28 +5582,28 @@ def htmlPersonOptions(translate: {}, baseDir: str, optionsStr += optionsLinkStr optionsStr += \ ' ' + translate['View'] + '\n' optionsStr += donateStr optionsStr += \ ' ' + followStr + '">' + translate[followStr] + '\n' optionsStr += \ ' ' + blockStr + '">' + translate[blockStr] + '\n' optionsStr += \ ' ' + translate['DM'] + '\n' optionsStr += \ ' ' + snoozeButtonStr + '">' + translate[snoozeButtonStr] + '\n' optionsStr += \ ' ' + translate['Report'] + '\n' - optionsStr += '
' - optionsStr += '
' - optionsStr += '
' - optionsStr += '
' + optionsStr += ' \n' + optionsStr += '
\n' + optionsStr += '
\n' + optionsStr += '
\n' optionsStr += htmlFooter() return optionsStr