mirror of https://gitlab.com/bashrc2/epicyon
Maintain consistent icon sequence
parent
ddba13f860
commit
b844168d93
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue