mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update translations
This commit is contained in:
parent
6124369679
commit
5f578574d7
56 changed files with 291 additions and 456 deletions
|
@ -13,6 +13,19 @@
|
|||
|
||||
query.ParentId = LibraryMenu.getTopParentId();
|
||||
|
||||
var context = '';
|
||||
|
||||
if (query.ParentId) {
|
||||
|
||||
$('.scopedLibraryViewNav', page).show();
|
||||
$('.globalNav', page).hide();
|
||||
context = 'tv';
|
||||
|
||||
} else {
|
||||
$('.scopedLibraryViewNav', page).hide();
|
||||
$('.globalNav', page).show();
|
||||
}
|
||||
|
||||
ApiClient.getJSON(ApiClient.getUrl("Shows/Upcoming", query)).done(function (result) {
|
||||
|
||||
var items = result.Items;
|
||||
|
@ -31,8 +44,8 @@
|
|||
showPremiereDate: true,
|
||||
showPremiereDateIndex: true,
|
||||
preferThumb: true,
|
||||
context: 'home-upcoming',
|
||||
lazy: true
|
||||
context: context || 'home-upcoming',
|
||||
lazy: true,
|
||||
|
||||
})).trigger('create').createPosterItemMenus();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue