From c62bcc607b3d1aefb55116300fc710b0b4ab4adf Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Sat, 26 Dec 2015 17:11:39 +0100 Subject: [PATCH] access: replace 'Network prefix' with 'Allowed networks' and use description in grid headers --- src/access.c | 3 ++- src/webui/static/app/idnode.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/access.c b/src/access.c index 8f1696e2a..5a398824b 100644 --- a/src/access.c +++ b/src/access.c @@ -1430,7 +1430,8 @@ const idclass_t access_entry_class = { { .type = PT_STR, .id = "prefix", - .name = N_("Network prefix"), + .name = N_("Allowed networks"), + .desc = N_("List of allowed IPv4 or IPv6 hosts or networks (comma separated)"), .set = access_entry_class_prefix_set, .get = access_entry_class_prefix_get, .opts = PO_ADVANCED diff --git a/src/webui/static/app/idnode.js b/src/webui/static/app/idnode.js index 424fe2cb1..964010ef3 100644 --- a/src/webui/static/app/idnode.js +++ b/src/webui/static/app/idnode.js @@ -1583,7 +1583,7 @@ tvheadend.idnode_grid = function(panel, conf) fields.push(f.id); ifields.push(f); if (!f.noui) { - c['tooltip'] = f.text; + c['tooltip'] = f.description || f.text; columns.push(c); if (c.filter) filters.push(c.filter); -- 2.47.3