mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Added error code in flow alerts
This commit is contained in:
parent
0e05c21d9f
commit
a28d4f4886
6 changed files with 22 additions and 5 deletions
|
|
@ -5187,7 +5187,7 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function format_http_info(http_info)
|
||||
function format_http_info(http_info)
|
||||
if http_info["last_return_code"] then
|
||||
local badge = get_badge(http_info.last_return_code == 200)
|
||||
http_info["last_return_code"] = string.format('<span class="badge bg-%s">%s</span>', badge, http_utils.getResponseStatusCode(http_info["last_return_code"]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue