mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-26 09:52:16 +00:00
Fix table colors for dry hires
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
class="{% if event.cancelled %}
|
||||
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
|
||||
{% elif not event.is_rig %}
|
||||
table-info
|
||||
{% else %}
|
||||
table-warning
|
||||
{% endif %}"
|
||||
{% elif event.authorised and event.risk_assessment_edit_url and event.mic %}
|
||||
table-success
|
||||
{% elif not event.is_rig %}
|
||||
table-info
|
||||
{% else %}
|
||||
table-warning
|
||||
{% endif %}"
|
||||
|
||||
Reference in New Issue
Block a user