mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-26 18:02:18 +00:00
49 lines
2.4 KiB
HTML
49 lines
2.4 KiB
HTML
{% extends request.is_ajax|yesno:"base_ajax.html,base_rigs.html" %}
|
|
{% block title %}Risk Assessment for Event N{{ object.event.pk|stringformat:"05d" }} {{ object.event.name }}{% endblock %}
|
|
{% load help_text from filters %}
|
|
|
|
{% block content %}
|
|
<div class="row my-3 py-3">
|
|
<div class="col-sm-12">
|
|
<h3>Risk Assessment for Event N{{ object.event.pk|stringformat:"05d" }} {{ object.event.name }}</h3>
|
|
<a href="{% url 'event_ra_edit' object.pk %}" class="btn btn-warning my-3"><span class="fas fa-edit"></span> <span
|
|
class="hidden-xs">Edit</span></a>
|
|
<div class="card card-default mb-3">
|
|
<div class="card-header">General</div>
|
|
<div class="card-body">
|
|
<dl class="row">
|
|
<dt class="col-sm-6">{{ object|help_text:'nonstandard_equipment' }}</dt>
|
|
<dd class="col-sm-6">
|
|
{{ object.nonstandard_equipment|yesno|title }}
|
|
</dd>
|
|
<dt class="col-sm-6">{{ object|help_text:'nonstandard_use'|safe }}</dt>
|
|
<dd class="col-sm-6">
|
|
{{ object.nonstandard_use|yesno|title }}
|
|
</dd>
|
|
<dt class="col-sm-6">{{ object|help_text:'contractors' }}</dt>
|
|
<dd class="col-sm-6">
|
|
{{ object.contractors|yesno|title }}
|
|
</dd>
|
|
<dt class="col-sm-6">{{ object|help_text:'other_companies' }}</dt>
|
|
<dd class="col-sm-6">
|
|
{{ object.othercompanies|yesno|title }}
|
|
</dd>
|
|
<dt class="col-sm-6">{{ object|help_text:'crew_fatigue' }}</dt>
|
|
<dd class="col-sm-6">
|
|
{{ object.crewfatigue|yesno|title }}
|
|
</dd>
|
|
<dt class="col-sm-6">{{ object|help_text:'general_notes' }}</dt>
|
|
<dd class="col-sm-6">
|
|
{{ object.general_notes|linebreaks|default:'N/A' }}
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-12 text-right">
|
|
{% include 'partials/last_edited.html' with target="ra_history" %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|