From 6352e3494cf9cc73eab8e17a587cc2c68c28b5b1 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Sun, 28 Sep 2014 21:05:36 +0200 Subject: [PATCH] WEBUI JS: epg grid - add info action (icon) to be consistent with dvr --- src/webui/static/app/epg.js | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/webui/static/app/epg.js b/src/webui/static/app/epg.js index 15f60413..b05b2710 100644 --- a/src/webui/static/app/epg.js +++ b/src/webui/static/app/epg.js @@ -226,12 +226,21 @@ tvheadend.epg = function() { var lookup = ' '; var actions = new Ext.ux.grid.RowActions({ - header: '', - width: 20, + id: 'details', + header: 'Details', + width: 45, dataIndex: 'actions', - actions: [{ - iconIndex: 'dvrState' - }] + actions: [ + { + iconCls: 'info', + qtip: 'Broadcast details', + cb: function(grid, rec, act, row) { + new tvheadend.epgDetails(grid.getStore().getAt(row).data); + } + }, + { iconIndex: 'dvrState' } + + ] }); var epgStore = new Ext.ux.grid.livegrid.Store({