diff --git a/webapp_timeline.py b/webapp_timeline.py index d6fd2afde..0e44d93ea 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -189,6 +189,87 @@ def _htmlTimelineNewPost(manuallyApproveFollowers: bool, return newPostButtonStr +def _htmlTimelineModerationButtons(moderator: bool, boxName: str, + nickname: str, moderationActionStr: str, + translate: {}) -> str: + """Returns html for the moderation screen buttons + """ + tlStr = '' + if moderator and boxName == 'moderation': + tlStr += \ + '
\n' + return tlStr + + def htmlTimeline(cssCache: {}, defaultTimeline: str, recentPostsCache: {}, maxRecentPosts: int, translate: {}, pageNumber: int, @@ -575,78 +656,9 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, tlStr += '