From: Jaroslav Kysela Date: Sat, 26 Dec 2015 16:11:39 +0000 (+0100) Subject: access: replace 'Network prefix' with 'Allowed networks' and use description in grid... X-Git-Tag: v4.2.1~1279 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c62bcc607b3d1aefb55116300fc710b0b4ab4adf;p=thirdparty%2Ftvheadend.git access: replace 'Network prefix' with 'Allowed networks' and use description in grid headers --- 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);