From 726e728d9afa48f3f4e56e08935c60002ad2c6d0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 31 Oct 2020 12:38:17 +0000 Subject: [PATCH] Rss icon at bottom of newswire screen on mobile --- webinterface.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webinterface.py b/webinterface.py index 794b8ad2..b67ff778 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5857,7 +5857,7 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str, translate['Newswire RSS Feed'] + '" title="' + \ translate['Newswire RSS Feed'] + '" src="/' + \ iconsDir + '/logorss.png" />\n' - if rssIconAtTop: + if rssIconAtTop and showHeaderImage: htmlStr += rssIconStr if showPublishButton: @@ -5881,7 +5881,8 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str, positiveVoting, iconsDir) htmlStr += newswireContentStr - if newswireContentStr and not rssIconAtTop: + rssAtBottom = not rssIconAtTop or not showHeaderImage + if newswireContentStr and rssAtBottom: htmlStr += '
' + rssIconStr return htmlStr