mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Implemented policy export
This commit is contained in:
parent
f06409f568
commit
8a4c653268
5 changed files with 13 additions and 3 deletions
|
|
@ -12,7 +12,13 @@ local template_utils = require("template_utils")
|
|||
local ui_utils = {}
|
||||
|
||||
function ui_utils.render_configuration_footer(item)
|
||||
return template_utils.gen('pages/components/manage-configuration-link.template', {item = item})
|
||||
local ret = template_utils.gen('pages/components/manage-configuration-link.template', {item = item})
|
||||
|
||||
if(ntop.isPro() or ntop.isEnterpriseM() or ntop.isEnterpriseL()) then
|
||||
ret = ret .. template_utils.gen('pages/components/export-policy-configuration-link.template')
|
||||
end
|
||||
|
||||
return ret
|
||||
end
|
||||
|
||||
--- Single note element: { content = 'note description', hidden = true|false }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue