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

update translations

This commit is contained in:
Luke Pulverenti 2014-07-11 00:27:46 -04:00
parent 6124369679
commit 5f578574d7
56 changed files with 291 additions and 456 deletions

View file

@ -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();
});