diff --git a/app/templates/main/dashboard.html b/app/templates/main/dashboard.html index b84386b..1679ec3 100644 --- a/app/templates/main/dashboard.html +++ b/app/templates/main/dashboard.html @@ -138,7 +138,6 @@ addEventListener("DOMContentLoaded", function() { HDD Network Control - Time Left @@ -215,8 +214,8 @@ addEventListener("DOMContentLoaded", function() { {{ service.category }} {{ service.description }} {{ moment(service.date_last_charge).format('lll') }} ({{ moment(service.date_last_charge).fromNow() }}) - {% if service.warning == True %} - + {% if service.warning == True % or service.enabled == True} + {% else %} {{ service.daysleft }} day(s) {% endif %} @@ -249,10 +248,14 @@ addEventListener("DOMContentLoaded", function() { {{ domain.fqdn }} {{ domain.date_expire }} - {% if domain.warning == True %} - + {% if domain.enabled == True %} + {% if domain.warning == True %} + + {% else %} + {{ domain.daysleft }} day(s) + {% endif %} {% else %} - {{ domain.daysleft }} day(s) + EXPIRED {% endif %}