From b0585997f8940269ade883070a8af1a5c084341f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 1 Nov 2020 10:15:52 +0000 Subject: [PATCH] Simplify --- webinterface.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/webinterface.py b/webinterface.py index d36ae0c1b..c5516a12e 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5869,7 +5869,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 and showHeaderImage: + if rssIconAtTop: htmlStr += rssIconStr # show publish icon at top @@ -5897,8 +5897,7 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str, htmlStr += newswireContentStr # show the rss icon at the bottom, typically on the right hand side - rssAtBottom = not rssIconAtTop or (not showHeaderImage and not authorized) - if newswireContentStr and rssAtBottom: + if newswireContentStr and not rssIconAtTop: htmlStr += '
' + rssIconStr + '
' return htmlStr