mirror of https://gitlab.com/bashrc2/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,23 +5192,34 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
|||
'/left_col_image.png" />\n' + \
|
||||
' </center>\n'
|
||||
|
||||
if editImageClass == 'leftColEdit':
|
||||
htmlStr += ' <center>\n'
|
||||
|
||||
if moderator:
|
||||
if editImageClass == 'leftColEdit':
|
||||
htmlStr += ' <center>\n'
|
||||
# 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'
|
||||
if editImageClass == 'leftColEdit':
|
||||
htmlStr += ' <center>\n'
|
||||
else:
|
||||
htmlStr += ' <br>\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:
|
||||
htmlStr += ' <br>\n'
|
||||
|
||||
linksFilename = baseDir + '/accounts/links.txt'
|
||||
if os.path.isfile(linksFilename):
|
||||
|
|
Loading…
Reference in New Issue