diff --git a/RIGS/templates/event_detail.html b/RIGS/templates/event_detail.html index 0b56690a..2ac3cc47 100644 --- a/RIGS/templates/event_detail.html +++ b/RIGS/templates/event_detail.html @@ -72,6 +72,11 @@
{% include 'partials/event_details.html' %}
+ {% if event.is_rig and not event.dry_hire %} +
+ {% include 'partials/hs_details.html' %} +
+ {% endif %} {% if event.is_rig and event.internal and perms.RIGS.view_event %}
{ include 'partials/auth_details.html' %} diff --git a/RIGS/templates/event_detail_buttons.html b/RIGS/templates/event_detail_buttons.html index a3cb1596..bca4fc50 100644 --- a/RIGS/templates/event_detail_buttons.html +++ b/RIGS/templates/event_detail_buttons.html @@ -3,16 +3,6 @@ class="fas fa-edit"> {% if event.is_rig %} - {% if not event.dry_hire %} - - {% endif %} diff --git a/RIGS/templates/partials/hs_details.html b/RIGS/templates/partials/hs_details.html new file mode 100644 index 00000000..332b2f63 --- /dev/null +++ b/RIGS/templates/partials/hs_details.html @@ -0,0 +1,21 @@ +
+
Health & Safety Details
+
+
Risk Assessment:
+ {% if event.riskassessment %} + Completed + {% else %} + + {% endif%} +
+
Event Checklist:
+ Coming Soon +
+