mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 01:10:10 +00:00
Add missing user scripts gui labels
This commit is contained in:
parent
d5638ef278
commit
481a00a2ad
14 changed files with 112 additions and 4 deletions
|
|
@ -13,6 +13,11 @@ local script = {
|
|||
|
||||
-- See below
|
||||
hooks = {},
|
||||
|
||||
gui = {
|
||||
i18n_title = "system_stats.redis.redis_monitor",
|
||||
i18n_description = "system_stats.redis.redis_monitor_description",
|
||||
},
|
||||
}
|
||||
|
||||
-- ##############################################
|
||||
|
|
|
|||
|
|
@ -2,4 +2,10 @@ return {
|
|||
label = "Redis",
|
||||
script = "redis_stats.lua",
|
||||
sort_order = 1700,
|
||||
|
||||
is_shown = function()
|
||||
local user_scripts = require("user_scripts")
|
||||
|
||||
return(user_scripts.isSystemScriptEnabled("redis_monitor"))
|
||||
end
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue