- better duplicate handling (ui fix)
This commit is contained in:
parent
2b22bc75a1
commit
ef799f9c24
1 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue