From 0f2f21359eadbc5986aa7a5c72d9f6389a17ca29 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 10 Nov 2020 20:40:19 +0000 Subject: [PATCH] Back button path --- webapp_person_options.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/webapp_person_options.py b/webapp_person_options.py index 9c37e00d..80bae077 100644 --- a/webapp_person_options.py +++ b/webapp_person_options.py @@ -202,9 +202,13 @@ def htmlPersonOptions(cssCache: {}, translate: {}, baseDir: str, optionsStr += checkboxStr optionsStr += optionsLinkStr + backPath = '/' + if nickname: + backPath = '/users/' + nickname optionsStr += \ - ' ' + ' ' optionsStr += \ ' '