Highlight task order status on task order view page

This commit is contained in:
Patrick Smith
2019-01-15 11:25:04 -05:00
parent e41f01398c
commit fcd1f0aa86
2 changed files with 13 additions and 1 deletions

View File

@@ -63,7 +63,7 @@
<div class="panel task-order-heading row">
<div class="panel__content task-order-heading__name row">
<h2>New Task Order</h2>
<span class="label label--{{ 'warning' if task_order.is_pending }}">{{ task_order.status.value }}</span>
<span class="label label--{{ task_order.status.value.lower() }}">{{ task_order.status.value }}</span>
</div>
<div class="task_order-heading__details row">
<div class="task-order-heading__value col">