diff --git a/webinterface.py b/webinterface.py index d5171b27..436058fc 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5742,16 +5742,7 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str, translate['Go Back'] + '\n' if showPublishButton: - if showPublishAsIcon: - htmlStr += \ - ' ' + \ - '' + \
-                translate['Publish a news article'] + '\n' - else: + if not showPublishAsIcon: htmlStr += \ ' \n' + if showPublishButton: + if showPublishAsIcon: + htmlStr += \ + ' ' + \ + '' + \
+                translate['Publish a news article'] + '\n' + if editImageClass == 'rightColEdit': htmlStr += ' \n' else: