mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-14 18:49:42 +00:00
First pass at reworked rigboard layout on mobile
This commit is contained in:
17
RIGS/templates/partials/event_status.html
Normal file
17
RIGS/templates/partials/event_status.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<span class="badge badge-{% if event.confirmed %}success{% elif event.cancelled %}dark{% else %}warning{% endif %}">Status: {{ event.get_status_display }}</span>
|
||||
{% if event.is_rig %}
|
||||
{% if event.purchase_order %}
|
||||
<span class="badge badge-success">PO: {{ event.purchase_order }}</i></span>
|
||||
{% elif event.authorised %}
|
||||
<span class="badge badge-success">Payment: Authorised <i class="fas fa-check"></i></span>
|
||||
{% else %}
|
||||
<span class="badge badge-danger">Payment: <i class="fas fa-times"></i></span>
|
||||
{% endif %}
|
||||
<!-- TODO show invoice stuff here -->
|
||||
|
||||
{% if event.risk_assessment_edit_url %}
|
||||
<span class="badge badge-success">RA: <i class="fas fa-check"></i></span>
|
||||
{% else %}
|
||||
<span class="badge badge-danger">RA: <i class="fas fa-times"></i></span>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user