From 416c7d11888eff4cda6f49fa45c8e1268a666828 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 16 Dec 2020 18:04:32 +0000 Subject: [PATCH] Info button on person options --- webapp_person_options.py | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/webapp_person_options.py b/webapp_person_options.py index e27189b52..f4554a9cf 100644 --- a/webapp_person_options.py +++ b/webapp_person_options.py @@ -206,26 +206,33 @@ def htmlPersonOptions(defaultTimeline: str, optionsStr += \ ' ' + '\n' optionsStr += \ ' ' + translate['View'] + '\n' optionsStr += donateStr optionsStr += \ ' ' + followStr + '">' + translate[followStr] + '\n' optionsStr += \ ' ' + blockStr + '">' + translate[blockStr] + '\n' optionsStr += \ ' ' + translate['DM'] + '\n' optionsStr += \ ' ' + snoozeButtonStr + '">' + translate[snoozeButtonStr] + '\n' optionsStr += \ ' ' + translate['Report'] + '\n' + + if isModerator(baseDir, nickname): + optionsStr += '
\n' + optionsStr += \ + ' \n' personNotes = '' personNotesFilename = \