From ee83fd20645e15b4f1bdd3ca967c8237c497ee87 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sun, 16 Mar 2025 22:05:27 +0000 Subject: [PATCH] Add link to legacy rigboard on rigboard template --- RIGS/templates/rigboard.html | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/RIGS/templates/rigboard.html b/RIGS/templates/rigboard.html index 4e030bc1..9bad6eca 100644 --- a/RIGS/templates/rigboard.html +++ b/RIGS/templates/rigboard.html @@ -4,15 +4,37 @@ {% block content %}
- Key: ReadyAction RequiredNeeds MICCancelledNon-Rig + Key: ReadyAction RequiredNeeds MICCancelledNon-Rig
{% if perms.RIGS.add_event %}
{% button 'new' 'event_create' %}
{% endif %} + {% if not request.GET.legacy %} + View legacy rigboard + {% else %} + Go to new rigboard + {% endif %}
+ +{% if request.GET.legacy %} +
+ Warning: The legacy rigboard is being deprecated and will be removed in the future. Please use the + new rigboard. +
+{% endif %} + +
-{% include 'partials/event_table.html' %} + {% if request.GET.legacy %} + {% include 'partials/legacy_event_table.html' %} + {% else %} + {% include 'partials/event_table.html' %} + {% endif %}
{% endblock %}