Implements user script for remote to remote host alerts

Addresses #4614
This commit is contained in:
Simone Mainardi 2020-10-22 16:25:31 +02:00
parent 8ca7daf889
commit cbfd2c8025
5 changed files with 83 additions and 37 deletions

View file

@ -296,13 +296,6 @@ function printAlerts()
hidden = not showElements,
})
prefsToggleButton(subpage_active, {
field = "toggle_remote_to_remote_alerts",
pref = "remote_to_remote_alerts",
default = "0",
hidden = not showElements,
})
print('<thead class="thead-light"><tr id="row_alerts_retention_header" ')
if (showElements == false) then print(' style="display:none;"') end
print('><th colspan=2 class="info">'..i18n("prefs.alerts_retention")..'</th></tr></thead>')