mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-24 00:42:17 +00:00
Add button to toggle cancelled event filtering
This commit is contained in:
@@ -16,9 +16,16 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if not request.GET.legacy %}
|
{% if not request.GET.legacy %}
|
||||||
<a href="?legacy=true" class="btn btn-secondary">View legacy rigboard</a>
|
|
||||||
|
{% if not request.GET.hide_cancelled %}
|
||||||
|
<a href="?hide_cancelled=true" class="btn btn-primary mr-3">Hide cancelled</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="." class="btn btn-secondary">Go to new rigboard</a>
|
<a href="." class="btn btn-primary mr-3">Show cancelled</a>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<a href="?legacy=true" class="btn btn-secondary">Legacy rigboard</a>
|
||||||
|
{% else %}
|
||||||
|
<a href="." class="btn btn-secondary">New rigboard</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user