Check status for verifying signatures

main
Bob Mottram 2021-01-05 10:52:37 +00:00
parent 7125a97bbe
commit 51866a5fdf
1 changed files with 10 additions and 4 deletions

View File

@ -1106,10 +1106,16 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
instanceStr += \ instanceStr += \
' <input type="file" id="instanceLogo" name="instanceLogo"' ' <input type="file" id="instanceLogo" name="instanceLogo"'
instanceStr += ' accept="' + imageFormats + '">' instanceStr += ' accept="' + imageFormats + '">'
instanceStr += \ if getConfigParam(baseDir, "verifyAllSignatures"):
' <input type="checkbox" class="profilecheckbox" ' + \ instanceStr += \
'name="verifyallsignatures"> ' + \ ' <input type="checkbox" class="profilecheckbox" ' + \
translate['Verify all signatures'] + '<br>\n' 'name="verifyallsignatures" checked> ' + \
translate['Verify all signatures'] + '<br>\n'
else:
instanceStr += \
' <input type="checkbox" class="profilecheckbox" ' + \
'name="verifyallsignatures"> ' + \
translate['Verify all signatures'] + '<br>\n'
instanceStr += '</div>' instanceStr += '</div>'
moderators = '' moderators = ''