diff --git a/webapp_profile.py b/webapp_profile.py index 632f8b07f..9de5871e4 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -1415,12 +1415,14 @@ def _htmlEditProfileDangerZone(translate: {}) -> str: return editProfileForm -def _htmlSystemMonitor(translate: {}) -> str: +def _htmlSystemMonitor(nickname: str, translate: {}) -> str: """Links to performance graphs """ systemMonitorStr = beginEditSection(translate['System Monitor']) - systemMonitorStr += '

📊 GET

' - systemMonitorStr += '

📊 POST

' + systemMonitorStr += '

📊 GET

' + systemMonitorStr += '

📊 POST

' systemMonitorStr += endEditSection() return systemMonitorStr @@ -2074,7 +2076,7 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str, mediaInstanceStr, blogsInstanceStr, newsInstanceStr) - systemMonitorStr = _htmlSystemMonitor(translate) + systemMonitorStr = _htmlSystemMonitor(nickname, translate) instanceTitle = getConfigParam(baseDir, 'instanceTitle') editProfileForm = htmlHeaderWithExternalStyle(cssFilename, instanceTitle)