status text capitalization changed to Titlecaps
This commit is contained in:
parent
a2229d3250
commit
079f0ed68d
1 changed files with 3 additions and 3 deletions
|
@ -38,11 +38,11 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<td data-header="{% trans 'Status' %}">
|
<td data-header="{% trans 'Status' %}">
|
||||||
{% if vm.state == 'ACTIVE' %}
|
{% if vm.state == 'ACTIVE' %}
|
||||||
<span class="vm-status-active"><strong>{{vm.state}}</strong></span>
|
<span class="vm-status-active"><strong>{{vm.state|title}}</strong></span>
|
||||||
{% elif vm.state == 'FAILED' %}
|
{% elif vm.state == 'FAILED' %}
|
||||||
<span class="vm-status-failed"><strong>{{vm.state}}</strong></span>
|
<span class="vm-status-failed"><strong>{{vm.state|title}}</strong></span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="vm-status"><strong>{{vm.state}}</strong></span>
|
<span class="vm-status"><strong>{{vm.state|title}}</strong></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td class="text-right last-td">
|
<td class="text-right last-td">
|
||||||
|
|
Loading…
Reference in a new issue