mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-12 22:17:17 +02:00
parent
6b721cbe0c
commit
f28f314fcf
4 changed files with 12 additions and 9 deletions
|
@ -126,16 +126,13 @@
|
|||
icon = iconWarn;
|
||||
cl = "icon-warn";
|
||||
avail = "disabled";
|
||||
}
|
||||
else if(false == i["is_avail"]) {
|
||||
} else if(false == i["is_avail"]) {
|
||||
icon = iconInfo;
|
||||
cl = "icon-info";
|
||||
avail = "not yet available";
|
||||
}
|
||||
else if(0 == i["ts_last_success"]) {
|
||||
} else if(0 == i["ts_last_success"]) {
|
||||
avail = "available but no data was received until now";
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
avail = "available and is ";
|
||||
if(false == i["is_producing"])
|
||||
avail += "not ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue