diff --git a/webinterface.py b/webinterface.py
index c43e4cca..a509e76f 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -5152,17 +5152,19 @@ def htmlHighlightLabel(label: str, highlight: bool) -> str:
def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
httpPrefix: str, translate: {},
- iconsDir: str) -> str:
+ iconsDir: str, moderator: bool) -> str:
"""Returns html content for the left column
"""
- htmlStr = \
- '
\n' + \
- ' ' + \
- '\n' + \
- ' \n'
+ htmlStr = ''
+ if moderator:
+ htmlStr += \
+ ' \n' + \
+ ' ' + \
+ '\n' + \
+ ' \n'
return htmlStr
@@ -5484,7 +5486,8 @@ def htmlTimeline(defaultTimeline: str,
# left column
leftColumnStr = \
getLeftColumnContent(baseDir, nickname, domainFull,
- httpPrefix, translate, iconsDir)
+ httpPrefix, translate, iconsDir,
+ moderator)
tlStr += ' ' + leftColumnStr + ' | \n'
# center column containing posts
tlStr += ' \n'
|