mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-27 16:48:24 +00:00
Add fields to rig info for additional access requirements (#611)
* Add fields to rig info for additional access requirements * Add form field for additional access requirements * Display access requirements in rig info * Make access requirements field non-required Oops... * Add event access field to risk assessment * Allow for modification and display risk assessment venue access item * Correct tests for RAs with new parking fields * Add note to new venue access component of RA * Correct div boundaries for non-rig access requirements * Fill parking and access field in sample data generator * Set parking and access field to false in RA creation test * Hopefully the final correction of the RA test suite
This commit is contained in:
22
RIGS/templates/partials/parking_and_access.html
Normal file
22
RIGS/templates/partials/parking_and_access.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<div class="card card-default">
|
||||
<div class="card-header">Parking and Access</div>
|
||||
<div class="card-body">
|
||||
<p>This venue has additional parking and/or access requirements.</p>
|
||||
|
||||
<p>Ensure the MIC has:</p>
|
||||
<ul>
|
||||
<li>Details of where to park</li>
|
||||
<li>Details of how to access the venue</li>
|
||||
<li>Details of any access restrictions</li>
|
||||
<li>If on campus, sorted parking permits</li>
|
||||
</ul>
|
||||
|
||||
{% if object.parking_and_access and object.riskassessment.parking_and_access %}
|
||||
<small>Additional parking marked on both rig details and risk assessment.</small>
|
||||
{% elif object.parking_and_access %}
|
||||
<small>Additional parking marked on rig details.</small>
|
||||
{% elif object.riskassessment.parking_and_access %}
|
||||
<small>Additional parking marked on risk assessment.</small>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user