fix state instead of states

This commit is contained in:
Cayo Puigdefabregas 2022-05-13 17:16:08 +02:00
parent 1dcebc0112
commit 11913d68c3

View file

@ -132,7 +132,7 @@
</div>
</div>
<div class="row">
<div class="col-lg-3 col-md-4 label">Lifecycle States</div>
<div class="col-lg-3 col-md-4 label">Lifecycle State</div>
<div class="col-lg-9 col-md-8">
{% if device.status %}
{{ device.status.type }}
@ -140,7 +140,7 @@
</div>
</div>
<div class="row">
<div class="col-lg-3 col-md-4 label">Allocated States</div>
<div class="col-lg-3 col-md-4 label">Allocated State</div>
<div class="col-lg-9 col-md-8">
{% if device.allocated_status %}
{{ device.allocated_status.type }}