From 188f06afc2ffa7831f1123fc36f5b643fecddd20 Mon Sep 17 00:00:00 2001 From: tomtom5152 Date: Sat, 28 Mar 2015 17:32:47 +0000 Subject: [PATCH] Fix mouseover text. Tidy up non rig detail --- RIGS/templates/RIGS/event_detail.html | 94 +++++++++++++++------------ 1 file changed, 53 insertions(+), 41 deletions(-) diff --git a/RIGS/templates/RIGS/event_detail.html b/RIGS/templates/RIGS/event_detail.html index f7d971e2..619d099e 100644 --- a/RIGS/templates/RIGS/event_detail.html +++ b/RIGS/templates/RIGS/event_detail.html @@ -11,13 +11,17 @@
- + {% if event.is_rig %} + + {% endif %} - {% if perms.RIGS.add_invoice %} - + {% if event.is_rig %} + {% if perms.RIGS.add_invoice %} + + {% endif %} {% endif %}
@@ -68,8 +72,10 @@
Event Venue
{{ object.venue }}
-
Event MIC
-
{{ event.mic.name }}
+ {% if event.is_rig %} +
Event MIC
+
{{ event.mic.name }}
+ {% endif %}
Status
{{ event.get_status_display }}
@@ -114,8 +120,10 @@
{{ object.checked_in_by.name }}
{% endif %} -
Collected By
-
{{ object.collector }}
+ {% if event.is_rig %} +
Collected By
+
{{ object.collector }}
+ {% endif %} @@ -124,45 +132,49 @@
- + {% if event.is_rig %} + + {% endif %} - {% if perms.RIGS.add_invoice %} - + {% if event.is_rig %} + {% if perms.RIGS.add_invoice %} + + {% endif %} {% endif %}
-
-
-
Event Details
-
-
-

Notes

- {{ event.notes|linebreaksbr }} -
- {% if event.is_rig %} + {% if event.is_rig %} +
+
+
Event Details
+
+
+

Notes

+ {{ event.notes|linebreaksbr }} +
{% include 'RIGS/item_table.html' %} - {% endif %} +
-
-
-
- - - - {% if perms.RIGS.add_invoice %} - - {% endif %} +
+
+ + + + {% if perms.RIGS.add_invoice %} + + {% endif %} +
+
Last edited at {{ object.last_edited_at|date:"SHORT_DATETIME_FORMAT" }} + by {{ object.last_edited_by.name }}. +
-
Last edited at {{ object.last_edited_at|date:"SHORT_DATETIME_FORMAT" }} - by {{ object.last_edited_by.name }}. -
-
+ {% endif %} {% endblock %}