From 366a14408b9fa16135c22a77c92d13e886e302b5 Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Sun, 15 Mar 2020 03:10:33 +0000 Subject: [PATCH] More messing with the rigboard --- RIGS/templates/event_table.html | 20 +++++++++++--------- RIGS/templates/index.html | 22 +++++++++++++--------- 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/RIGS/templates/event_table.html b/RIGS/templates/event_table.html index 1c390ebf..285d9bac 100644 --- a/RIGS/templates/event_table.html +++ b/RIGS/templates/event_table.html @@ -11,9 +11,10 @@ {% for event in events %} + @@ -63,7 +64,6 @@ {% if event.dry_hire %} Dry Hire {% endif %} - {% if event.is_rig and not event.cancelled %}
@@ -87,17 +87,19 @@ {% endif %} - + {% if event.mic %} - "{{ event.mic.initials }}" -
+
{% if perms.RIGS.view_profile %} - - - {% else %} - {% endif %} + + {% if perms.RIGS.view_profile %} + + {% endif %} +
+

{{ event.mic.initials }}

+
{% elif event.is_rig %} diff --git a/RIGS/templates/index.html b/RIGS/templates/index.html index 032ec96e..64545609 100644 --- a/RIGS/templates/index.html +++ b/RIGS/templates/index.html @@ -16,28 +16,32 @@
-

RIGS

+

Rigboard

- Rigboard - Calendar - {% if perms.RIGS.add_event %} New Event{% endif %} + Rigboard + Calendar + {% if perms.RIGS.add_event %} + New Event + {% endif %}

Asset Database

- Asset List - {% if perms.assets.add_asset %} New Asset{% endif %} + Asset List + {% if perms.assets.add_asset %} + New Asset + {% endif %}

Quick Links

- TEC Forum - TEC Wiki + TEC Forum + TEC Wiki {% if perms.RIGS.view_event %} - Price List + Price List {% endif %}