diff --git a/webinterface.py b/webinterface.py
index 0da489d18..71df392fc 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -3480,7 +3480,7 @@ def htmlProfile(defaultTimeline: str,
getLeftColumnContent(baseDir, 'news', domainFull,
httpPrefix, translate,
iconsDir, False,
- False, None)
+ False, None, False)
profileHeaderStr += ' \n'
profileHeaderStr += '
\n'
else:
@@ -5493,7 +5493,8 @@ def htmlHighlightLabel(label: str, highlight: bool) -> str:
def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
httpPrefix: str, translate: {},
iconsDir: str, editor: bool,
- showBackButton: bool, timelinePath: str) -> str:
+ showBackButton: bool, timelinePath: str,
+ rssIconAtTop: bool) -> str:
"""Returns html content for the left column
"""
htmlStr = ''
@@ -5555,13 +5556,15 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
else:
# rss feed for all accounts on the instance
rssUrl = httpPrefix + '://' + domainFull + '/blog/rss.xml'
- htmlStr += \
+ rssIconStr = \
' ' + \
' \n'
+ if rssIconAtTop:
+ htmlStr += rssIconStr
if editImageClass == 'leftColEdit':
htmlStr += ' \n'
@@ -5612,6 +5615,8 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
htmlStr += \
' ' + lineStr + ' \n'
+ if not rssIconAtTop:
+ htmlStr += ' ' + rssIconStr
return htmlStr
@@ -5843,7 +5848,7 @@ def htmlLinksMobile(baseDir: str, nickname: str, domainFull: str,
getLeftColumnContent(baseDir, nickname, domainFull,
httpPrefix, translate,
iconsDir, editor,
- True, timelinePath)
+ True, timelinePath, True)
htmlStr += '\n' + htmlFooter()
return htmlStr
@@ -6549,7 +6554,7 @@ def htmlTimeline(defaultTimeline: str,
leftColumnStr = \
getLeftColumnContent(baseDir, nickname, domainFull,
httpPrefix, translate, iconsDir,
- editor, False, None)
+ editor, False, None, rssIconAtTop)
tlStr += ' | ' + \
leftColumnStr + ' | \n'
# center column containing posts