mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update tv recording page
This commit is contained in:
parent
fb64641b57
commit
72b7920f68
9 changed files with 56 additions and 34 deletions
|
@ -33,7 +33,9 @@
|
|||
Dashboard.setPageTitle(name);
|
||||
|
||||
$('.itemName', page).html(name);
|
||||
$('.itemChannelNumber', page).html(item.Number);
|
||||
$('.itemChannelNumber', page).html(item.ChannelName);
|
||||
|
||||
$('.itemEpisodeName', page).html(item.EpisodeTitle);
|
||||
|
||||
if (item.CommunityRating) {
|
||||
$('.itemCommunityRating', page).html(LibraryBrowser.getRatingHtml(item)).show();
|
||||
|
@ -62,6 +64,14 @@
|
|||
$('#playButtonContainer', page).hide();
|
||||
}
|
||||
|
||||
$('.status', page).html('Status: ' + item.Status);
|
||||
|
||||
if (item.Audio) {
|
||||
$('.audio', page).html('Audio: ' + item.Audio).show();
|
||||
} else {
|
||||
$('.audio', page).hide();
|
||||
}
|
||||
|
||||
Dashboard.getCurrentUser().done(function (user) {
|
||||
|
||||
if (user.Configuration.IsAdministrator && item.LocationType !== "Offline") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue