status text capitalization changed to Titlecaps

This commit is contained in:
Arvind Tiwari 2017-08-16 20:35:14 +05:30
parent a2229d3250
commit 079f0ed68d

View file

@ -38,11 +38,11 @@
{% endif %}
<td data-header="{% trans 'Status' %}">
{% 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' %}
<span class="vm-status-failed"><strong>{{vm.state}}</strong></span>
<span class="vm-status-failed"><strong>{{vm.state|title}}</strong></span>
{% else %}
<span class="vm-status"><strong>{{vm.state}}</strong></span>
<span class="vm-status"><strong>{{vm.state|title}}</strong></span>
{% endif %}
</td>
<td class="text-right last-td">