mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
fixed tab for manage_data and add ui_utils.render_notes
addresses #4471
This commit is contained in:
parent
68a36ae7ee
commit
a4d17d28d6
8 changed files with 358 additions and 359 deletions
|
|
@ -19,4 +19,17 @@ function ui_utils.render_configuration_footer(import_export_context, reset_conte
|
|||
return table.concat(template, "\n")
|
||||
end
|
||||
|
||||
--- Single not element: { content = 'note description', hidden = true|false }
|
||||
function ui_utils.render_notes(notes_items)
|
||||
|
||||
if notes_items == nil then
|
||||
ntop.traceEvent("The notes table is nil!")
|
||||
return ""
|
||||
end
|
||||
|
||||
return template_utils.gen("pages/components/notes.template", {
|
||||
notes = notes_items
|
||||
})
|
||||
end
|
||||
|
||||
return ui_utils
|
||||
Loading…
Add table
Add a link
Reference in a new issue