mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-22 16:02:16 +00:00
Fix table colors for dry hires
This commit is contained in:
@@ -9,9 +9,11 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<!-- TODO show invoice stuff here -->
|
<!-- TODO show invoice stuff here -->
|
||||||
|
|
||||||
{% if event.riskassessment %}
|
{% if not event.dry_hire %}
|
||||||
<span class="badge badge-success">RA: <i class="fas fa-check"></i></span>
|
{% if event.riskassessment %}
|
||||||
{% else %}
|
<span class="badge badge-success">RA: <i class="fas fa-check"></i></span>
|
||||||
<span class="badge badge-danger">RA: <i class="fas fa-times"></i></span>
|
{% else %}
|
||||||
|
<span class="badge badge-danger">RA: <i class="fas fa-times"></i></span>
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
class="{% if event.cancelled %}
|
class="{% if event.cancelled %}
|
||||||
text-muted table-secondary
|
text-muted table-secondary
|
||||||
{% elif event.authorised and event.risk_assessment_edit_url and event.mic %}
|
{% elif event.dry_hire and event.authorised and event.mic %}
|
||||||
table-success
|
table-success
|
||||||
{% elif not event.is_rig %}
|
{% elif event.authorised and event.risk_assessment_edit_url and event.mic %}
|
||||||
table-info
|
table-success
|
||||||
{% else %}
|
{% elif not event.is_rig %}
|
||||||
table-warning
|
table-info
|
||||||
{% endif %}"
|
{% else %}
|
||||||
|
table-warning
|
||||||
|
{% endif %}"
|
||||||
|
|||||||
Reference in New Issue
Block a user