mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Refactors alrt builders into creators
Refactors builders into creators: calls
This commit is contained in:
parent
00c5e9f909
commit
290175b16f
75 changed files with 158 additions and 158 deletions
|
|
@ -3,7 +3,7 @@
|
|||
--
|
||||
|
||||
local alert_keys = require "alert_keys"
|
||||
local alert_builders = require "alert_builders"
|
||||
local alert_creators = require "alert_creators"
|
||||
|
||||
local function formatNewDeviceConnectionAlert(ifid, alert, info)
|
||||
return(i18n("alert_messages.a_new_device_has_connected", {
|
||||
|
|
@ -19,5 +19,5 @@ return {
|
|||
i18n_title = "alerts_dashboard.new_device",
|
||||
i18n_description = formatNewDeviceConnectionAlert,
|
||||
icon = "fas fa-asterisk",
|
||||
builder = alert_builders.buildDeviceConnectionDisconnection,
|
||||
creator = alert_creators.createDeviceConnectionDisconnection,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue