From af76e90bfbfe4a65db7e0823eaffa8cf7cefc27b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 1 Nov 2020 10:52:58 +0000 Subject: [PATCH] Rss icon position on mobile links screen --- webinterface.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/webinterface.py b/webinterface.py index fc8e5dcb..35ff6a11 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5613,7 +5613,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str, translate['RSS feed for this site'] + \ '" title="' + translate['RSS feed for this site'] + \ '" src="/' + iconsDir + '/logorss.png" />\n' - if rssIconAtTop and showHeaderImage: + if rssIconAtTop: htmlStr += rssIconStr if editImageClass == 'leftColEdit': @@ -5622,7 +5622,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str, if showHeaderImage: htmlStr += '
\n' - if rssIconAtTop and not showHeaderImage: + if rssIconAtTop: htmlStr += '
' linksFilename = baseDir + '/accounts/links.txt' @@ -5672,8 +5672,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str, '

' + lineStr + '

\n' linksFileContainsEntries = True - rssAtBottom = not rssIconAtTop or not showHeaderImage - if linksFileContainsEntries and rssAtBottom: + if linksFileContainsEntries and not rssIconAtTop: htmlStr += '
' + rssIconStr + '
' return htmlStr