QR code on next line

main
Bob Mottram 2020-06-21 16:57:23 +00:00
parent 58e57e1987
commit ad422e3b19
1 changed files with 3 additions and 3 deletions

View File

@ -2562,11 +2562,11 @@ def htmlProfile(defaultTimeline: str,
profileHeaderStr += ' <h1>' + displayName + '</h1>'
iconsDir = getIconsDir(baseDir)
profileHeaderStr += \
'<p><a href="/users/' + nickname + \
'<p><b>@' + nickname + '@' + domainFull + '</b><br>'
profileHeaderStr += \
'<a href="/users/' + nickname + \
'/qrcode.png" alt="QR Code" title="QR Code">' + \
'<img class="qrcode" src="/' + iconsDir + '/qrcode.png" /></a></p>'
profileHeaderStr += \
'<p><b>@' + nickname + '@' + domainFull + '</b></p>'
profileHeaderStr += ' <p>' + profileDescriptionShort + '</p>'
profileHeaderStr += loginButton
profileHeaderStr += ' </div>'