From: mpmc Date: Wed, 24 Oct 2018 13:00:59 +0000 (+0100) Subject: webui: more tooltips for help buttons! X-Git-Tag: v4.2.8~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=45cc65a03d1bb808b2d26601e3f7668448f3f930;p=thirdparty%2Ftvheadend.git webui: more tooltips for help buttons! --- diff --git a/src/webui/static/app/idnode.js b/src/webui/static/app/idnode.js index 6d73d6aca..0c0235e24 100644 --- a/src/webui/static/app/idnode.js +++ b/src/webui/static/app/idnode.js @@ -1199,6 +1199,7 @@ tvheadend.idnode_editor = function(_uilevel, item, conf) } var helpBtn = new Ext.Button({ text: _('Help'), + tooltip: _('View help docs.'), iconCls: 'help', handler: help }); @@ -2045,6 +2046,7 @@ tvheadend.idnode_grid = function(panel, conf) buttons.push(abuttons.uilevel ? '-' : '->'); buttons.push({ text: _('Help'), + tooltip: _('View help docs.'), iconCls: 'help', handler: help }); @@ -2432,6 +2434,7 @@ tvheadend.idnode_form_grid = function(panel, conf) buttons.push(abuttons.uilevel ? '-' : '->'); buttons.push({ text: _('Help'), + tooltip: _('View help docs.'), iconCls: 'help', handler: help }); @@ -2872,6 +2875,7 @@ tvheadend.idnode_simple = function(panel, conf) buttons.push(abuttons.uilevel ? '-' : '->'); buttons.push({ text: _('Help'), + tooltip: _('View help docs.'), iconCls: 'help', handler: help }); diff --git a/src/webui/static/app/servicemapper.js b/src/webui/static/app/servicemapper.js index b56df8b59..bc0c2cc91 100644 --- a/src/webui/static/app/servicemapper.js +++ b/src/webui/static/app/servicemapper.js @@ -52,6 +52,7 @@ tvheadend.service_mapper_status = function(panel, index) tbar: ['->', { text: _('Help'), iconCls: 'help', + tooltip: _('View help docs.'), handler: function() { new tvheadend.mdhelp('status_service_mapper') } diff --git a/src/webui/static/app/status.js b/src/webui/static/app/status.js index e875eb3e1..bc8ce7f3c 100644 --- a/src/webui/static/app/status.js +++ b/src/webui/static/app/status.js @@ -120,14 +120,14 @@ tvheadend.status_subs = function(panel, index) header: _("Service"), dataIndex: 'service', sortable: true - }, + }, { width: 50, id: 'profile', header: _("Profile"), dataIndex: 'profile', sortable: true - }, + }, { width: 50, id: 'start', @@ -179,7 +179,7 @@ tvheadend.status_subs = function(panel, index) renderer: renderBw } ]); - + function clicked(column, grid, index, e) { if (column.dataIndex == 'in' || column.dataIndex == 'out') { var id = grid.getStore().getAt(index).id; @@ -191,6 +191,7 @@ tvheadend.status_subs = function(panel, index) subs = new Ext.grid.GridPanel({ tbar: ['->', { text: _('Help'), + tooltip: _('View help docs.'), iconCls: 'help', handler: function() { new tvheadend.mdhelp('status_subscriptions') @@ -207,7 +208,7 @@ tvheadend.status_subs = function(panel, index) forceFit: true } }); - + dpanel.add(subs); dpanel.doLayout(false, true); } @@ -484,6 +485,7 @@ tvheadend.status_streams = function(panel, index) grid = new Ext.grid.GridPanel({ tbar: ['->', { text: _('Help'), + tooltip: _('View help docs.'), iconCls: 'help', handler: function() { new tvheadend.mdhelp('status_stream') @@ -501,7 +503,7 @@ tvheadend.status_streams = function(panel, index) }, plugins: [actions] }); - + dpanel.add(grid); dpanel.doLayout(false, true); } @@ -655,6 +657,7 @@ tvheadend.status_conns = function(panel, index) { grid = new Ext.grid.GridPanel({ tbar: ['->', { text: _('Help'), + tooltip: _('View help docs.'), iconCls: 'help', handler: function() { new tvheadend.mdhelp('status_connections') @@ -672,7 +675,7 @@ tvheadend.status_conns = function(panel, index) { }, plugins: [actions] }); - + dpanel.add(grid); dpanel.doLayout(false, true); }