diff --git a/RIGS/templates/event_form.html b/RIGS/templates/event_form.html index fc633ab9..58283f89 100644 --- a/RIGS/templates/event_form.html +++ b/RIGS/templates/event_form.html @@ -179,8 +179,8 @@ -
-
+
+
diff --git a/RIGS/templates/event_table.html b/RIGS/templates/event_table.html index dac0c2af..87122808 100644 --- a/RIGS/templates/event_table.html +++ b/RIGS/templates/event_table.html @@ -1,15 +1,16 @@ -
- - - - - - - - - - - {% for event in events %} +
+
+
#Event DateEvent DetailsMIC
+ + + + + + + + + + {% for event in events %} @@ -89,7 +90,15 @@ {% endif %} - {% endfor %} - -
#Event DateEvent DetailsMIC
{{ event.pk }}
+ {% empty %} + + No events found + + {% endfor %} + + +
+
+
+ {% include 'event_table_mobile.html' %}
diff --git a/RIGS/templates/event_table_mobile.html b/RIGS/templates/event_table_mobile.html index affc12ee..e36d99a2 100644 --- a/RIGS/templates/event_table_mobile.html +++ b/RIGS/templates/event_table_mobile.html @@ -1,16 +1,15 @@ +
{% for event in events %} -
-
{{ event.pk }} | {{ event.name }} {% if event.dry_hire %} Dry Hire @@ -34,5 +33,9 @@ {% endif %}
+{% empty %} +
+

No events found

{% endfor %} +
diff --git a/RIGS/templates/organisation_detail.html b/RIGS/templates/organisation_detail.html index b31bf32f..dd61004f 100644 --- a/RIGS/templates/organisation_detail.html +++ b/RIGS/templates/organisation_detail.html @@ -6,19 +6,12 @@ {% block content %}
{% if not request.is_ajax %} -
-

Organisation | {{ object.name }}

-
- -
-
- Edit -
-
+
+

Organisation | {{ object.name }}

+
{% endif %} -
-
+
+
Organisation Details
@@ -43,9 +36,8 @@
- -
-
+
+
Associated People
@@ -57,16 +49,13 @@
- -
+
-
+
Associated Events
-
- {% with object.latest_events as events %} - {% include 'event_table.html' %} - {% endwith %} -
+ {% with object.latest_events as events %} + {% include 'event_table.html' %} + {% endwith %}
@@ -75,9 +64,9 @@ {% if not request.is_ajax %}
-
+
Edit + class="fas fa-edit"> Edit
{% include 'partials/last_edited.html' with target="organisation_history" %}
@@ -90,11 +79,11 @@ {% block footer %}
-
- Open Page - Edit + {% include 'partials/last_edited.html' with target="organisation_history" %}
diff --git a/RIGS/templates/partials/contact_details_form.html b/RIGS/templates/partials/contact_details_form.html index bbc1e11c..0d25862e 100644 --- a/RIGS/templates/partials/contact_details_form.html +++ b/RIGS/templates/partials/contact_details_form.html @@ -1,5 +1,5 @@ {% load widget_tweaks %} -
+
Contact Details
@@ -58,7 +58,7 @@
-
+
Event Description
diff --git a/RIGS/templates/rigboard.html b/RIGS/templates/rigboard.html index 0515f866..824d9864 100644 --- a/RIGS/templates/rigboard.html +++ b/RIGS/templates/rigboard.html @@ -7,10 +7,7 @@ {% if perms.RIGS.add_event %} New {% endif %} -
- {% include 'event_table.html' %} -
-
- {% include 'event_table_mobile.html' %} -
+ +{% include 'event_table.html' %} + {% endblock %}