From eb0c027ff957e07652c3fc7346cbc740ca4cbf98 Mon Sep 17 00:00:00 2001 From: Arona Date: Fri, 29 May 2020 15:15:37 +0100 Subject: [PATCH] Expand detail template --- RIGS/templates/risk_assessment_detail.html | 102 ++++++++++++++++++++- 1 file changed, 101 insertions(+), 1 deletion(-) diff --git a/RIGS/templates/risk_assessment_detail.html b/RIGS/templates/risk_assessment_detail.html index 8b4d5c63..166d9865 100644 --- a/RIGS/templates/risk_assessment_detail.html +++ b/RIGS/templates/risk_assessment_detail.html @@ -34,7 +34,107 @@
{{ object|help_text:'general_notes' }}
- {{ object.general_notes|linebreaks|default:'N/A' }} + {{ object.general_notes|default:'N/A'|linebreaks }} +
+ + + +
+
Power
+
+
+
{{ object|help_text:'big_power' }}
+
+ {{ object.big_power|yesno|title }} +
+
{{ object|help_text:'power_mic' }}
+
+ {{ object.power_mic.name|default:'Moose' }} +
+
{{ object|help_text:'generators' }}
+
+ {{ object.generators|yesno|title }} +
+
{{ object|help_text:'other_companies_power' }}
+
+ {{ object.other_companies_power|yesno|title }} +
+
{{ object|help_text:'nonstandard_equipment_power' }}
+
+ {{ object.nonstandard_equipment_power|yesno|title }} +
+
{{ object|help_text:'multiple_electrical_environments' }}
+
+ {{ object.multiple_electrical_environments|yesno|title }} +
+
{{ object|help_text:'power_notes' }}
+
+ {{ object.power_notes|default:'N/A'|linebreaks }} +
+
+
+
+
+
Sound
+
+
+
{{ object|help_text:'noise_monitoring' }}
+
+ {{ object.noise_monitoring|yesno|title }} +
+
{{ object|help_text:'sound_notes' }}
+
+ {{ object.sound_notes|default:'N/A'|linebreaks }} +
+
+
+
+
+
Site Details
+
+
+
{{ object|help_text:'known_venue' }}
+
+ {{ object.known_venue|yesno|title }} +
+
{{ object|help_text:'safe_loading' }}
+
+ {{ object.safe_loading.name|yesno|title }} +
+
{{ object|help_text:'safe_storage' }}
+
+ {{ object.safe_storage|yesno|title }} +
+
{{ object|help_text:'area_outside_of_control' }}
+
+ {{ object.area_outside_of_control|yesno|title }} +
+
{{ object|help_text:'barrier_required' }}
+
+ {{ object.barrier_required|yesno|title }} +
+
{{ object|help_text:'nonstandard_emergency_procedure' }}
+
+ {{ object.nonstandard_emergency_procedure|yesno|title }} +
+
+
+
+
+
Structures
+
+
+
{{ object|help_text:'special_structures' }}
+
+ {{ object.special_structures|yesno|title }} +
+
{{ object|help_text:'persons_responsible_structures' }}
+
+ {{ object.persons_responsible_structures.name|default:'N/A'|linebreaks }} +
+
{{ object|help_text:'suspended_structures' }}
+
+ {{ object.suspended_structures|yesno|title }}