1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update next/previous buttons

This commit is contained in:
Luke Pulverenti 2014-01-24 13:09:50 -05:00
parent e22622a6ac
commit 10567bd881
11 changed files with 70 additions and 55 deletions

View file

@ -39,7 +39,29 @@
html += '</td>';
html += '<td>';
html += tuner.Status;
if (tuner.Status == 'RecordingTv') {
if (tuner.ChannelName) {
html += '<a href="livetvchannel.html?id=' + tuner.ChannelId + '">Recording ' + tuner.ChannelName + '</a>';
} else {
html += 'Recording';
}
}
else if (tuner.Status == 'LiveTv') {
if (tuner.ChannelName) {
html += '<a href="livetvchannel.html?id=' + tuner.ChannelId + '">Watching ' + tuner.ChannelName + '</a>';
} else {
html += 'Watching';
}
}
else {
html += tuner.Status;
}
html += '</td>';
html += '<td>';