mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Added possibility to load table with preloaded search
This commit is contained in:
parent
3f35ce9863
commit
41d97dae8f
5 changed files with 19 additions and 9 deletions
|
|
@ -52,19 +52,19 @@ function alert_device_connection_disconnection.format(ifid, alert, alert_type_pa
|
|||
|
||||
if event == 'connected' then
|
||||
return (i18n("alert_messages.device_has_connected", {
|
||||
device = alert_type_params.device,
|
||||
device = mac2label(alert_type_params.device),
|
||||
device_url = getMacUrl(alert_type_params.device),
|
||||
if_name = getInterfaceName(ifid),
|
||||
if_url = getInterfaceUrl(ifid),
|
||||
exclusion_url = ntop.getHttpPrefix() .. "/lua/pro/admin/edit_device_exclusions.lua"
|
||||
exclusion_url = ntop.getHttpPrefix() .. "/lua/pro/admin/edit_device_exclusions.lua?mac=" .. alert_type_params.device
|
||||
}))
|
||||
else
|
||||
return (i18n("alert_messages.device_has_disconnected", {
|
||||
device = alert_type_params.device,
|
||||
device = mac2label(alert_type_params.device),
|
||||
device_url = getMacUrl(alert_type_params.device),
|
||||
if_name = getInterfaceName(ifid),
|
||||
if_url = getInterfaceUrl(ifid),
|
||||
exclusion_url = ntop.getHttpPrefix() .. "/lua/pro/admin/edit_device_exclusions.lua"
|
||||
exclusion_url = ntop.getHttpPrefix() .. "/lua/pro/admin/edit_device_exclusions.lua?mac=" .. alert_type_params.device
|
||||
}))
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue