From 39a2401ec940fbd2503cca1d49dd603dca40bced Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sun, 30 Mar 2025 15:34:02 +0100 Subject: [PATCH] Add button to toggle cancelled event filtering --- RIGS/templates/rigboard.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/RIGS/templates/rigboard.html b/RIGS/templates/rigboard.html index 9bad6eca..b57a9a49 100644 --- a/RIGS/templates/rigboard.html +++ b/RIGS/templates/rigboard.html @@ -16,9 +16,16 @@ {% endif %} {% if not request.GET.legacy %} - View legacy rigboard + + {% if not request.GET.hide_cancelled %} + Hide cancelled {% else %} - Go to new rigboard + Show cancelled + {% endif %} + + Legacy rigboard + {% else %} + New rigboard {% endif %}