mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Removed duplicated help link (#8799)
This commit is contained in:
parent
173e0aaca0
commit
b33cd7f697
8 changed files with 8 additions and 28 deletions
|
|
@ -8,23 +8,6 @@ local clock_start = os.clock()
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function flow_risk_utils.get_documentation_link(risk_id, source)
|
||||
|
||||
local url = ""
|
||||
|
||||
if (source == "ntopng") then
|
||||
url = string.format("https://www.ntop.org/guides/ntopng/remediations/ntopng_flow_risks.html#risk-%.3u", risk_id)
|
||||
else
|
||||
url = string.format("https://www.ntop.org/guides/ntopng/remediations/ndpi_flow_risks.html#risk-%.3u", risk_id)
|
||||
end
|
||||
|
||||
local link = string.format('<a href="%s" target="_blank"><i class="fas fa-lg fa-question-circle"></i></a>', url)
|
||||
|
||||
return link
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
function flow_risk_utils.get_remediation_documentation_link(risk_id, source)
|
||||
local url = ""
|
||||
if (source == "ntopng") then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue