From fb614c675d0eba33ccd9f0be715047205f970a95 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 20 Dec 2020 12:34:16 +0000 Subject: [PATCH] Editor icon --- webapp_moderation.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp_moderation.py b/webapp_moderation.py index d4542e5e6..8139aecab 100644 --- a/webapp_moderation.py +++ b/webapp_moderation.py @@ -7,6 +7,7 @@ __email__ = "bob@freedombone.net" __status__ = "Production" import os +from utils import isEditor from utils import loadJson from utils import getNicknameFromActor from utils import getDomainFromActor @@ -202,6 +203,8 @@ def htmlModerationInfo(cssCache: {}, translate: {}, if modAccount: infoForm += '' infoForm += acctNickname + if isEditor(baseDir, acctNickname): + infoForm += '✏' if modAccount: infoForm += '' infoForm += '\n\n'