mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Fixes wrong confidence color
This commit is contained in:
parent
8f596d095f
commit
12e9863eae
1 changed files with 2 additions and 2 deletions
|
|
@ -5384,9 +5384,9 @@ function format_confidence_badge(confidence, shorten_string)
|
|||
local badge = ""
|
||||
|
||||
if confidence == 0 then
|
||||
badge = "<span class=\"badge bg-success\" title=\"" .. get_confidence(confidence) .. "\">" .. get_confidence(confidence, shorten_string) .. "</span>"
|
||||
elseif confidence then
|
||||
badge = "<span class=\"badge bg-warning\" title=\"" .. get_confidence(confidence) .. "\">" .. get_confidence(confidence, shorten_string) .. "</span>"
|
||||
elseif confidence then
|
||||
badge = "<span class=\"badge bg-success\" title=\"" .. get_confidence(confidence) .. "\">" .. get_confidence(confidence, shorten_string) .. "</span>"
|
||||
end
|
||||
|
||||
return badge
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue