mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update detail screen
This commit is contained in:
parent
2e9653b4ca
commit
d9299a0a48
4 changed files with 10 additions and 43 deletions
|
@ -55,7 +55,8 @@
|
|||
|
||||
var context = getContext(item);
|
||||
|
||||
renderHeader(page, item, context);
|
||||
LibraryMenu.setBackButtonVisible(true);
|
||||
LibraryMenu.setMenuButtonVisible(false);
|
||||
|
||||
LibraryBrowser.renderName(item, $('.itemName', page), false, context);
|
||||
LibraryBrowser.renderParentName(item, $('.parentName', page), context);
|
||||
|
@ -306,24 +307,6 @@
|
|||
return getParameterByName('context');
|
||||
}
|
||||
|
||||
function renderHeader(page, item, context) {
|
||||
|
||||
$('.itemTabs', page).hide();
|
||||
|
||||
if (context == 'tv') {
|
||||
|
||||
$(page).removeClass('noSecondaryNavPage');
|
||||
|
||||
$('#tvShowsTabs', page).show();
|
||||
LibraryMenu.setMenuButtonVisible(true);
|
||||
}
|
||||
else {
|
||||
$(page).addClass('noSecondaryNavPage');
|
||||
LibraryMenu.setBackButtonVisible(true);
|
||||
LibraryMenu.setMenuButtonVisible(false);
|
||||
}
|
||||
}
|
||||
|
||||
function renderNextUp(page, item, user) {
|
||||
|
||||
var section = page.querySelector('.nextUpSection');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue