From 0a302c2a77458adfd37f8d4e84e2a0b9d1561aa1 Mon Sep 17 00:00:00 2001 From: Craig Oates Date: Mon, 26 Sep 2022 00:20:27 +0100 Subject: [PATCH] refactor /user/site-settings.html template (nav. menu updates). The nav. menu section sends a hidden value if a check box isn't selected. This is in preparation for implementing the back-end part of this feature. I, also, removed the if-statements when selecting the home page in the 'Home Page' settings. Again, this in preparation for adjusting the back-end functionality for this feature. --- templates/user/site-settings.html | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/templates/user/site-settings.html b/templates/user/site-settings.html index dc53a8b..c898dcd 100644 --- a/templates/user/site-settings.html +++ b/templates/user/site-settings.html @@ -15,20 +15,30 @@ +

Nav. Menu

+
+ + {% for page in pages %} + + + + {% endfor %} + +
+

Home Page

Currently set to: {{settings.home-page}}