forked from indymedia/epicyon
Show rss icon in left column
parent
6fe7641360
commit
2005e81794
Binary file not shown.
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.7 KiB |
|
@ -5192,19 +5192,30 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
|||
'/left_col_image.png" />\n' + \
|
||||
' </center>\n'
|
||||
|
||||
if moderator:
|
||||
if editImageClass == 'leftColEdit':
|
||||
htmlStr += ' <center>\n'
|
||||
|
||||
if moderator:
|
||||
# show the edit icon
|
||||
htmlStr += \
|
||||
' <a href="' + \
|
||||
httpPrefix + '://' + domainFull + \
|
||||
'/users/' + nickname + '/editlinks' + '">' + \
|
||||
'/users/' + nickname + '/editlinks">' + \
|
||||
'<img class="' + editImageClass + \
|
||||
'" loading="lazy" alt="' + \
|
||||
translate['Edit Links'] + '" title="' + \
|
||||
translate['Edit Links'] + '" src="/' + \
|
||||
iconsDir + '/edit.png" /></a>\n'
|
||||
|
||||
# RSS icon
|
||||
htmlStr += \
|
||||
' <a href="' + \
|
||||
httpPrefix + '://' + domainFull + \
|
||||
'/blog/' + nickname + '/rss.xml">' + \
|
||||
'<img class="' + editImageClass + \
|
||||
'" loading="lazy" alt="RSS" title="RSS" src="/' + \
|
||||
iconsDir + '/rss.png" /></a>\n'
|
||||
|
||||
if editImageClass == 'leftColEdit':
|
||||
htmlStr += ' <center>\n'
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue