InvenTree/InvenTree/templates/build_status.html
Oliver 34d240c6e8 Moved top-level templates to a top-level dir
It just seems fitting is all
2018-04-17 23:42:25 +10:00

11 lines
351 B
HTML

{% if build.status == build.PENDING %}
<span class='label label-info'>
{% elif build.status == build.HOLDING %}
<span class='label label-warning'>
{% elif build.status == build.CANCELLED %}
<span class='label label-danger'>
{% elif build.status == build.COMPLETE %}
<span class='label label-success'>
{% endif %}
{{ build.get_status_display }}
</span>