mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Alert page improvements
This commit is contained in:
parent
ac5376fcdf
commit
2e92bcbd4e
3 changed files with 17 additions and 5 deletions
|
|
@ -629,12 +629,11 @@ end
|
|||
|
||||
function formatRawFlow(record, flow_json)
|
||||
require "flow_utils"
|
||||
local time_bounds = nil
|
||||
local time_bounds = {getAlertTimeBounds(record)}
|
||||
local add_links = false
|
||||
|
||||
if hasNindexSupport() then
|
||||
-- only add links if nindex is present
|
||||
time_bounds = {getAlertTimeBounds(record)}
|
||||
add_links = true
|
||||
end
|
||||
|
||||
|
|
@ -1716,7 +1715,10 @@ function getCurrentStatus() {
|
|||
whiteSpace: 'nowrap',
|
||||
}
|
||||
},
|
||||
]]
|
||||
|
||||
if hasNindexSupport() then
|
||||
print[[
|
||||
{
|
||||
title: "]]print(i18n("drilldown"))print[[",
|
||||
field: "column_chart",
|
||||
|
|
@ -1726,7 +1728,10 @@ function getCurrentStatus() {
|
|||
textAlign: 'center'
|
||||
}
|
||||
},
|
||||
]]
|
||||
end
|
||||
|
||||
print[[
|
||||
{
|
||||
title: "]]print(i18n("show_alerts.alert_description"))print[[",
|
||||
field: "column_msg",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue