]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
EPG: small changes
authorPiotr Kuchciak <piotr.kuchciak@gmail.com>
Fri, 31 Oct 2014 07:59:03 +0000 (08:59 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 31 Oct 2014 15:18:43 +0000 (16:18 +0100)
-Add button PLAY ( for replace link PLAY, @perexg please write function
for this button because i dont know how, and then remove link PLAY under
SEARCH IMDB)
-add tooltip for buttons
-add icon for window Broadcast Details

src/webui/static/app/epg.js

index af8a2ec72075ae248587a48b2bfb154db10fc398..f12df975e6ba254338f9ec30731e4ca005badb78 100644 (file)
@@ -154,6 +154,13 @@ tvheadend.epgDetails = function(event) {
         });
         store.load();
 
+        buttons.push(new Ext.Button({
+            handler: playProgram,
+            iconCls: 'control_play',
+            tooltip: 'Play this program',
+            text: "Play program"
+        }));
+               
         var confcombo = new Ext.form.ComboBox({
             store: store,
             triggerAction: 'all',
@@ -170,11 +177,15 @@ tvheadend.epgDetails = function(event) {
         buttons.push(new Ext.Button({
             handler: recordEvent,
             iconCls: 'rec',
+            tooltip: 'Record now this program',
             text: "Record program"
         }));
         buttons.push(new Ext.Button({
             handler: recordSeries,
             iconCls: 'autoRec',
+            tooltip: 'Create an automatic recording entry for this program that will '
+                 + 'record all future programmes that matches '
+                 + 'the current query.',
             text: event.serieslinkId ? "Record series" : "Autorec"
         }));
 
@@ -188,6 +199,7 @@ tvheadend.epgDetails = function(event) {
 
     var win = new Ext.Window({
         title: 'Broadcast Details',
+        iconCls: 'broadcast_details',
         layout: 'fit',
         width: 600,
         height: 400,