From a537e7b82e5622b86b2bf34091b01df86b14e695 Mon Sep 17 00:00:00 2001 From: Ella Soccoli Date: Sun, 21 Sep 2025 15:16:08 -0400 Subject: [PATCH 1/3] Added member mode for alumni --- gallery/templates/nav.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gallery/templates/nav.html b/gallery/templates/nav.html index e440268..d195885 100644 --- a/gallery/templates/nav.html +++ b/gallery/templates/nav.html @@ -26,15 +26,15 @@ {% endif %} - {% if auth_dict['is_eboard'] or auth_dict['is_rtp'] %} + {% if auth_dict['is_eboard'] or auth_dict['is_rtp'] or auth_dict['is_alumni'] %} {% endif %} + {% if auth_dict['is_eboard'] or auth_dict['is_rtp'] or auth_dict['is_alumni'] %} +
  • + {% if session['userinfo'].get('member-lock') %} + Switch to Admin Mode + {% else %} + Switch to Member Mode + {% endif %} +
  • + {% endif %} + + {% if auth_dict['is_eboard'] or auth_dict['is_rtp'] %} From 5fd377cf50a26cca0567e0c1b21154d230475e22 Mon Sep 17 00:00:00 2001 From: Ella Soccoli Date: Sun, 21 Sep 2025 18:13:32 -0400 Subject: [PATCH 3/3] Improved layout --- gallery/templates/nav.html | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/gallery/templates/nav.html b/gallery/templates/nav.html index c9e36df..94d8961 100644 --- a/gallery/templates/nav.html +++ b/gallery/templates/nav.html @@ -27,16 +27,6 @@ {% endif %} - {% if auth_dict['is_eboard'] or auth_dict['is_rtp'] or auth_dict['is_alumni'] %} -
  • - {% if session['userinfo'].get('member-lock') %} - Switch to Admin Mode - {% else %} - Switch to Member Mode - {% endif %} -
  • - {% endif %} - {% if auth_dict['is_eboard'] or auth_dict['is_rtp'] %} + {% elif auth_dict['is_alumni'] %} +
  • + {% if session['userinfo'].get('member-lock') %} + Switch to Admin Mode + {% else %} + Switch to Member Mode
  • + {% endif %} + {% endif %} +