fixed type
This commit is contained in:
parent
10c007f739
commit
ddcad32cb1
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ addEventListener("DOMContentLoaded", function() {
|
||||||
<td data-title="Category">{{ service.category }}</td>
|
<td data-title="Category">{{ service.category }}</td>
|
||||||
<td data-title="Description" >{{ service.description }}</td>
|
<td data-title="Description" >{{ service.description }}</td>
|
||||||
<td data-title="Last Charged">{{ moment(service.date_last_charge).format('lll') }} ({{ moment(service.date_last_charge).fromNow() }})</td>
|
<td data-title="Last Charged">{{ moment(service.date_last_charge).format('lll') }} ({{ moment(service.date_last_charge).fromNow() }})</td>
|
||||||
{% if service.warning == True % or service.enabled == True}
|
{% if service.warning == True or service.enabled == True %}
|
||||||
<td data-title="Time Left"><button class="btn btn-default btn-success" onclick="window.open('/smanager/activate/{{ service.pid }}');"><span class="glyphicon glyphicon-bell" aria-hidden="true"></span> Activate</button></td>
|
<td data-title="Time Left"><button class="btn btn-default btn-success" onclick="window.open('/smanager/activate/{{ service.pid }}');"><span class="glyphicon glyphicon-bell" aria-hidden="true"></span> Activate</button></td>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td data-title="Time Left">{{ service.daysleft }} day(s)</td>
|
<td data-title="Time Left">{{ service.daysleft }} day(s)</td>
|
||||||
|
|
Loading…
Reference in a new issue