fixed type

This commit is contained in:
deflax 2017-07-11 19:29:15 +03:00
parent 10c007f739
commit ddcad32cb1

View file

@ -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>