updates to profile setting page for consistency with Venice

This commit is contained in:
2025-10-12 16:48:41 -06:00
parent 113616ff41
commit 33bb58783a
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -11,6 +11,7 @@ formName: "profform"
menuSelector: "nochange"
title: "Edit Your Profile"
action: "/profile"
options: "suppresslogin"
fields:
- type: "hidden"
name: "tgt"
+2
View File
@@ -220,6 +220,7 @@ func ProfilePhotoForm(ctxt ui.AmContext) (string, any, error) {
ctxt.VarMap().Set("target", target)
ctxt.VarMap().Set("photo_url", userPhotoURL(ci))
ctxt.VarMap().Set("amsterdam_pageTitle", "Upload User Photo")
ctxt.VarMap().Set("amsterdam_suppressLogin", true)
return "framed_template", "photo_upload.jet", nil
}
return ui.ErrorPage(ctxt, err)
@@ -273,6 +274,7 @@ func ProfilePhoto(ctxt ui.AmContext) (string, any, error) {
ctxt.VarMap().Set("target", target)
ctxt.VarMap().Set("photo_url", userPhotoURL(ci))
ctxt.VarMap().Set("amsterdam_pageTitle", "Upload User Photo")
ctxt.VarMap().Set("amsterdam_suppressLogin", true)
return "framed_template", "photo_upload.jet", nil
}
if ctxt.FormFieldIsSet("remove") {