From 6d77761f044fef83254be98730b38e9868012bca Mon Sep 17 00:00:00 2001 From: hinakhadim Date: Fri, 23 Aug 2024 12:52:06 +0500 Subject: [PATCH] fix: handle undefined theme cookie name for lms settingss --- .../header/navbar-authenticated.html | 5 ++- .../header/navbar-not-authenticated.html | 31 +++++++++---------- 2 files changed, 17 insertions(+), 19 deletions(-) diff --git a/tutorindigo/templates/indigo/lms/templates/header/navbar-authenticated.html b/tutorindigo/templates/indigo/lms/templates/header/navbar-authenticated.html index 88023d6db..83347ad91 100644 --- a/tutorindigo/templates/indigo/lms/templates/header/navbar-authenticated.html +++ b/tutorindigo/templates/indigo/lms/templates/header/navbar-authenticated.html @@ -53,8 +53,8 @@ % endif - {% if INDIGO_THEME_COOKIE_NAME %} -
+
+ {% if INDIGO_THEME_COOKIE_NAME %}
@@ -69,7 +69,6 @@
-
{% endif %} <%include file="user_dropdown.html"/>
diff --git a/tutorindigo/templates/indigo/lms/templates/header/navbar-not-authenticated.html b/tutorindigo/templates/indigo/lms/templates/header/navbar-not-authenticated.html index 91c2a5b81..01a91d141 100644 --- a/tutorindigo/templates/indigo/lms/templates/header/navbar-not-authenticated.html +++ b/tutorindigo/templates/indigo/lms/templates/header/navbar-not-authenticated.html @@ -42,22 +42,21 @@ %endif % endif - {% if INDIGO_THEME_COOKIE_NAME %} -
-
- -
- - - - - - - - -
-
-
+
+ {% if INDIGO_THEME_COOKIE_NAME %} +
+ +
+ + + + + + + + +
+
{% endif %}