mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Minor flow status repr. fix
This commit is contained in:
parent
2fa8bf22f0
commit
ea7fb77b0e
2 changed files with 3 additions and 3 deletions
|
|
@ -2497,7 +2497,7 @@ end
|
|||
|
||||
-- Update Utils::flowstatus2str / FlowStatus enum
|
||||
function getFlowStatus(status, flowstatus_info)
|
||||
local warn_sign = "<i class='fa fa-exclamation-triangle' aria-hidden=true' style='color: orange;'></i> "
|
||||
local warn_sign = "<i class=\"fa fa-warning\" aria-hidden=true style=\"color: orange;\"></i> "
|
||||
-- NOTE: flowstatus_info can be nil on older alerts
|
||||
if(status == 0) then return(i18n("flow_details.normal"))
|
||||
elseif(status == 1) then return(warn_sign..i18n("flow_details.slow_tcp_connection"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue