forked from indymedia/epicyon
Indentation
parent
9114724236
commit
0560878c2c
|
@ -280,7 +280,7 @@ def getProfileHeader(baseDir: str, nickname: str, domain: str,
|
|||
"""The header of the profile screen, containing background
|
||||
image and avatar
|
||||
"""
|
||||
htmlStr = '\n<figure class="profileHeader">\n'
|
||||
htmlStr = '\n\n <figure class="profileHeader">\n'
|
||||
htmlStr += ' <a href="/users/' + \
|
||||
nickname + '/' + defaultTimeline + '" title="' + \
|
||||
translate['Switch to timeline view'] + '">\n'
|
||||
|
@ -292,9 +292,9 @@ def getProfileHeader(baseDir: str, nickname: str, domain: str,
|
|||
avatarDescription + '" class="title">\n'
|
||||
htmlStr += ' <h1>' + displayName + '</h1>\n'
|
||||
htmlStr += \
|
||||
'<p><b>@' + nickname + '@' + domainFull + '</b><br>\n'
|
||||
' <p><b>@' + nickname + '@' + domainFull + '</b><br>\n'
|
||||
htmlStr += \
|
||||
'<a href="/users/' + nickname + \
|
||||
' <a href="/users/' + nickname + \
|
||||
'/qrcode.png" alt="' + translate['QR Code'] + '" title="' + \
|
||||
translate['QR Code'] + '">' + \
|
||||
'<img class="qrcode" src="/' + iconsDir + \
|
||||
|
@ -302,7 +302,7 @@ def getProfileHeader(baseDir: str, nickname: str, domain: str,
|
|||
htmlStr += ' <p>' + profileDescriptionShort + '</p>\n'
|
||||
htmlStr += loginButton
|
||||
htmlStr += ' </figcaption>\n'
|
||||
htmlStr += '</figure>\n'
|
||||
htmlStr += ' </figure>\n\n'
|
||||
return htmlStr
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue