Center icon

merge-requests/8/head
Bob Mottram 2020-10-03 20:22:02 +01:00
parent 30cdf1e488
commit 8b3bfcbc00
1 changed files with 2 additions and 6 deletions

View File

@ -5305,8 +5305,7 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str,
nickname + '/right_col_image.png" />\n' + \
' </center>\n'
if editImageClass == 'rightColEdit':
htmlStr += '\n <center>\n'
htmlStr += '\n <center>\n'
if moderator:
# show the edit icon
@ -5319,10 +5318,7 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str,
translate['Edit newswire'] + '" src="/' + \
iconsDir + '/edit.png" /></a>\n'
if editImageClass == 'rightColEdit':
htmlStr += ' </center>\n'
else:
htmlStr += ' <br>\n'
htmlStr += ' </center>\n'
return htmlStr