From 51866a5fdfb3c5a1879699bb3758b5db2d0da8e3 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 5 Jan 2021 10:52:37 +0000 Subject: [PATCH] Check status for verifying signatures --- webapp_profile.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/webapp_profile.py b/webapp_profile.py index a2b3e3deb..bd75f4a1a 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -1106,10 +1106,16 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str, instanceStr += \ ' ' - instanceStr += \ - ' ' + \ - translate['Verify all signatures'] + '
\n' + if getConfigParam(baseDir, "verifyAllSignatures"): + instanceStr += \ + ' ' + \ + translate['Verify all signatures'] + '
\n' + else: + instanceStr += \ + ' ' + \ + translate['Verify all signatures'] + '
\n' instanceStr += '' moderators = ''