Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- better duplicate handling (ui fix)
  • Loading branch information
dero authored and perexg committed Mar 9, 2015
1 parent 2b22bc7 commit ef799f9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/webui/static/app/dvr.js
Expand Up @@ -20,12 +20,16 @@ tvheadend.dvrDetails = function(uuid) {
var status = params[8].value;
var filesize = params[9].value;
var comment = params[10].value;
var duplicate = params[11].value;
var content = '';
var but;

if (chicon != null && chicon.length > 0)
content += '<img class="x-epg-chicon" src="' + chicon + '">';

if (duplicate)
content += '<div class="x-epg-meta"><font color="red"><div class="x-epg-prefix">Will be skipped<br>because is rerun of:</div>' + tvheadend.niceDate(duplicate * 1000) + '</font></div>';

if (title)
content += '<div class="x-epg-title">' + title + '</div>';
if (subtitle)
Expand Down Expand Up @@ -68,7 +72,7 @@ tvheadend.dvrDetails = function(uuid) {
params: {
uuid: uuid,
list: 'channel_icon,disp_title,disp_subtitle,episode,start_real,stop_real,' +
'duration,disp_description,status,filesize,comment'
'duration,disp_description,status,filesize,comment,duplicate'
},
success: function(d) {
d = json_decode(d);
Expand Down

0 comments on commit ef799f9

Please sign in to comment.