mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Changed back url from title to href attribute on anchor tags (Issue #5618)
This commit is contained in:
parent
1d194213f7
commit
4da05360f8
23 changed files with 102 additions and 92 deletions
|
|
@ -360,7 +360,7 @@ end
|
|||
function printASN(asn, asname)
|
||||
asname = asname:gsub('"','')
|
||||
if(asn > 0) then
|
||||
return("<A title='http://as.robtex.com/as"..asn..".html'>"..asname.." <i class='fas fa-external-link-alt fa-lg'></i></A>")
|
||||
return("<A class='ntopng-external-link' href='http://as.robtex.com/as"..asn..".html'>"..asname.." <i class='fas fa-external-link-alt fa-lg'></i></A>")
|
||||
else
|
||||
return(asname)
|
||||
end
|
||||
|
|
@ -3004,7 +3004,7 @@ end
|
|||
-- ###############################################
|
||||
|
||||
function formatWebSite(site)
|
||||
return("<A target=\"_blank\" title=\"http://"..site.."\">"..site.." <i class=\"fas fa-external-link-alt\"></i></A></th>")
|
||||
return("<A class='ntopng-external-link' target=\"_blank\" href=\"http://"..site.."\">"..site.." <i class=\"fas fa-external-link-alt\"></i></A></th>")
|
||||
end
|
||||
|
||||
-- ###############################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue