mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Fixes missing link to configuration page
This commit is contained in:
parent
0849c4e931
commit
377281779e
2 changed files with 2 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ function network_formatter.network2record(ifId, network)
|
|||
record["key"] = tostring(network["network_id"])
|
||||
|
||||
local network_link = "<A HREF='"..ntop.getHttpPrefix()..'/lua/hosts_stats.lua?network='..network["network_id"].."' title='"..network["network_key"].."'>"..getFullLocalNetworkName(network["network_key"])..'</A>'
|
||||
|
||||
network_link = network_link .. ' <A HREF="' .. ntop.getHttpPrefix() .. '/lua/network_details.lua?network=' .. network["network_id"] .. '&page=config' .. '"><i class="fas fa-cog fa-sm"></i></A>'
|
||||
network["host_score_ratio"] = ternary(network["num_hosts"] and network["num_hosts"]>0, math.floor((network["score"] or 0) / (network["num_hosts"] or 0)) , '')
|
||||
|
||||
record["column_id"] = network_link
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue