]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
access: replace 'Network prefix' with 'Allowed networks' and use description in grid...
authorJaroslav Kysela <perex@perex.cz>
Sat, 26 Dec 2015 16:11:39 +0000 (17:11 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sat, 26 Dec 2015 16:11:39 +0000 (17:11 +0100)
src/access.c
src/webui/static/app/idnode.js

index 8f1696e2a1ccdedd8d04cd172708c0a5720934a0..5a398824bbe8361b816424445ded9ca912de267a 100644 (file)
@@ -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
index 424fe2cb11145ac31c04e95a99e096ad85ed93aa..964010ef308e04819cab447b0daec3590bef1a69 100644 (file)
@@ -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);