mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Add hyperlinks. (#7504)
This commit is contained in:
parent
19ed86134f
commit
1dca7bcdb3
3 changed files with 11 additions and 7 deletions
|
|
@ -2256,7 +2256,7 @@ end
|
|||
|
||||
-- #######################
|
||||
|
||||
function getFlowsTableTitle()
|
||||
function getFlowsTableTitle(base_url)
|
||||
local active_msg = ""
|
||||
local status_type
|
||||
|
||||
|
|
@ -2323,7 +2323,12 @@ function getFlowsTableTitle()
|
|||
end
|
||||
else
|
||||
if(_GET["server"] ~= nil) then
|
||||
active_msg = active_msg .. i18n("flows_page.server", {server=_GET["server"]})
|
||||
local server_info = interface.getHostInfo(_GET["server"])
|
||||
local server_name = ""
|
||||
if (server_info) then
|
||||
server_name = server_info.names.resolved
|
||||
end
|
||||
active_msg = active_msg .. i18n("flows_page.server", {server=_GET["server"], base_url = base_url, server_name = ternary(isEmptyString(server_name), _GET["server"], server_name)})
|
||||
end
|
||||
end
|
||||
|
||||
|
|
@ -2333,7 +2338,7 @@ function getFlowsTableTitle()
|
|||
end
|
||||
|
||||
if(_GET["port"] ~= nil) then
|
||||
active_msg = active_msg .. i18n("flows_page.port", {port=_GET["port"]})
|
||||
active_msg = active_msg .. i18n("flows_page.port", {port=_GET["port"], base_url = base_url})
|
||||
end
|
||||
|
||||
if(_GET["inIfIdx"] ~= nil) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue