From 60872bb041609bb223c13b2ae62fb9950a60bfb2 Mon Sep 17 00:00:00 2001 From: JasonGrace2282 Date: Tue, 1 Oct 2024 20:42:40 -0400 Subject: [PATCH] fix: invalid button logic for dashboard --- intranet/templates/dashboard/dashboard.html | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/intranet/templates/dashboard/dashboard.html b/intranet/templates/dashboard/dashboard.html index 9cebdc6d14..a18fd0dfb0 100644 --- a/intranet/templates/dashboard/dashboard.html +++ b/intranet/templates/dashboard/dashboard.html @@ -129,19 +129,15 @@

{{ dashboard_header }}

Post - {% elif "show_all" not in request.GET %} - - Show All - {% else %} - {% if "show_all" not in request.GET %} - - Show All - - {% else %} + {% if request.GET.show_all is not None and request.GET.show_all != "0" %} Don't Show All + {% else %} + + Show All + {% endif %} @@ -239,7 +235,7 @@

It is currently in beta release and is only available to select clubs. If your club is interested in participating in the rollout, contact intranet@tjhsst.edu - . The feature will be released to the entire TJ community in the near future. + . The feature will be released to the entire TJ community in the near future. {% endif %}