Implement Device Protocols Alerts

This commit is contained in:
emanuele-f 2018-10-02 22:34:19 +02:00
parent 35b555fea5
commit 457dcb3457
18 changed files with 171 additions and 29 deletions

View file

@ -349,6 +349,13 @@ function printAlerts()
hidden = not showElements,
})
prefsToggleButton({
field = "toggle_device_protocols_alerts",
pref = "device_protocols_alerts",
default = "0",
hidden = not showElements,
})
print('<tr id="row_alerts_informative_header" ')
if (showElements == false) then print(' style="display:none;"') end
print('><th colspan=2 class="info">'..i18n("prefs.status_alerts")..'</th></tr>')