From 178c88de3afcf81a82f0caf12ba3e9efe1f18c1c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 2 Nov 2020 17:24:52 +0000 Subject: [PATCH] Banner on edit profile screen --- webinterface.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/webinterface.py b/webinterface.py index e610ad6f..00ddb31c 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1678,14 +1678,7 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str, moderatorsStr = '' themesDropdown = '' - - # top banner - instanceStr = \ - '\n' - instanceStr += '\n' + instanceStr = ''; adminNickname = getConfigParam(baseDir, 'admin') if adminNickname: @@ -1803,6 +1796,15 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str, '" selected>') editProfileForm = htmlHeader(cssFilename, editProfileCSS) + + # top banner + editProfileForm += \ + '\n' + editProfileForm += '\n' + editProfileForm += \ '
\n'