Maintain consistent icon sequence

main
Bob Mottram 2020-10-23 11:11:37 +01:00
parent ddba13f860
commit b844168d93
1 changed files with 12 additions and 10 deletions

View File

@ -5742,16 +5742,7 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str,
translate['Go Back'] + '</button></a>\n'
if showPublishButton:
if showPublishAsIcon:
htmlStr += \
' <a href="' + \
'/users/' + nickname + '/newblog">' + \
'<img class="' + editImageClass + \
'" loading="lazy" alt="' + \
translate['Publish a news article'] + '" title="' + \
translate['Publish a news article'] + '" src="/' + \
iconsDir + '/publish.png" /></a>\n'
else:
if not showPublishAsIcon:
htmlStr += \
' <a href="' + \
'/users/' + nickname + '/newblog" ' + \
@ -5789,6 +5780,17 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str,
translate['Newswire RSS Feed'] + '" src="/' + \
iconsDir + '/logorss.png" /></a>\n'
if showPublishButton:
if showPublishAsIcon:
htmlStr += \
' <a href="' + \
'/users/' + nickname + '/newblog">' + \
'<img class="' + editImageClass + \
'" loading="lazy" alt="' + \
translate['Publish a news article'] + '" title="' + \
translate['Publish a news article'] + '" src="/' + \
iconsDir + '/publish.png" /></a>\n'
if editImageClass == 'rightColEdit':
htmlStr += ' </center>\n'
else: