From 061b974c6a09f9883d49597a10da14288a3a19ae Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 1 Nov 2020 14:20:02 +0000 Subject: [PATCH] Mobile newswire icons on right --- webinterface.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webinterface.py b/webinterface.py index aca35bb9..7e20bf4f 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5623,7 +5623,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str, htmlStr += '
' if showHeaderImage: - htmlStr += '
' + htmlStr += '
' linksFilename = baseDir + '/accounts/links.txt' linksFileContainsEntries = False @@ -5828,7 +5828,7 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str, nickname + '/right_col_image.png" />\n' + \ ' \n' - if rssIconAtTop and not showHeaderImage: + if (showPublishButton or editor or rssIconAtTop) and not showHeaderImage: htmlStr += '
' if editImageClass == 'rightColEdit': @@ -5898,7 +5898,7 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str, if showHeaderImage: htmlStr += '
\n' - if rssIconAtTop and not showHeaderImage: + if (showPublishButton or editor or rssIconAtTop) and not showHeaderImage: htmlStr += '

' # show the newswire lines