mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Rework flow alert lens into the description
This commit is contained in:
parent
cb84559dae
commit
c6ad556640
1 changed files with 1 additions and 1 deletions
|
|
@ -558,7 +558,7 @@ local function formatRawFlow(ifid, alert, alert_json)
|
|||
local active_flow = interface.findFlowByKeyAndHashId(alert_json["ntopng.key"], alert_json["hash_entry_id"])
|
||||
|
||||
if active_flow and active_flow["seen.first"] < tonumber(alert["alert_tstamp"]) then
|
||||
return string.format("%s [%s: <A class='btn btn-sm btn-info' HREF='%s/lua/flow_details.lua?flow_key=%u&flow_hash_id=%u'><i class='fas fa-search-plus'></i></A> %s]",
|
||||
return string.format("%s [%s: <A class='btn-sx' HREF='%s/lua/flow_details.lua?flow_key=%u&flow_hash_id=%u'><i class='fas fa-search-plus'></i></A> %s]",
|
||||
'',
|
||||
i18n("flow"), ntop.getHttpPrefix(), active_flow["ntopng.key"], active_flow["hash_entry_id"],
|
||||
getFlowLabel(active_flow, true, true))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue