mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Add pool graphs links in other pages, hide if disabled from preferences
This commit is contained in:
parent
3044d5ebf3
commit
2a4d7e0e1d
4 changed files with 15 additions and 3 deletions
|
|
@ -157,7 +157,7 @@ function print_single_group(value)
|
|||
print(pool_name..'</A> " , ')
|
||||
print('"column_chart": "')
|
||||
|
||||
if ntop.exists(poolstats_rrd) or isBridgeInterface(ifstats) --[[ Need to show the icon to go into the quotas page ]] then
|
||||
if (ntop.getCache("ntopng.prefs.host_pools_rrd_creation") == "1" and ntop.exists(poolstats_rrd)) then
|
||||
print('<A HREF='..ntop.getHttpPrefix()..'/lua/pool_details.lua?pool='..value["id"]..'&page=historical><i class=\'fa fa-area-chart fa-lg\'></i></A>')
|
||||
else
|
||||
print('')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue