A proper check for a service status.
This commit is contained in:
parent
34d469319d
commit
ac02190659
@ -15,7 +15,7 @@ block nav
|
|||||||
h1 About
|
h1 About
|
||||||
|
|
||||||
mixin isServiceUp(header, service)
|
mixin isServiceUp(header, service)
|
||||||
if (services[service])
|
if v, ok := services[service]; ok && v
|
||||||
h3.service-up= header
|
h3.service-up= header
|
||||||
else
|
else
|
||||||
h3.service-down= header
|
h3.service-down= header
|
||||||
|
Loading…
Reference in New Issue
Block a user