mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added season page
This commit is contained in:
parent
69fb2cdfba
commit
2cab873a9b
5 changed files with 248 additions and 29 deletions
|
@ -84,14 +84,14 @@
|
|||
ApiClient.getItems(Dashboard.getCurrentUserId(), {
|
||||
|
||||
ParentId: getParameterByName('id'),
|
||||
SortBy: "SortName"
|
||||
SortBy: "SortName",
|
||||
Fields: "PrimaryImageAspectRatio,ItemCounts,DisplayMediaType,DateCreated,UserData"
|
||||
|
||||
}).done(function(result) {
|
||||
|
||||
var html = LibraryBrowser.getPosterDetailViewHtml({
|
||||
items: result.Items,
|
||||
useAverageAspectRatio: true,
|
||||
Fields: "PrimaryImageAspectRatio,ItemCounts,DisplayMediaType,DateCreated,UserData"
|
||||
useAverageAspectRatio: true
|
||||
});
|
||||
|
||||
$('#seasonsContent', page).html(html);
|
||||
|
@ -120,11 +120,7 @@
|
|||
$('#castContent', page).html(html);
|
||||
}
|
||||
|
||||
$(document).on('pageinit', "#tvSeriesPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
||||
}).on('pageshow', "#tvSeriesPage", function () {
|
||||
$(document).on('pageshow', "#tvSeriesPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
||||
|
@ -160,12 +156,4 @@
|
|||
$('#galleryCollapsible', page).off('expand.lazyload');
|
||||
});
|
||||
|
||||
function tvSeriesPage() {
|
||||
|
||||
var self = this;
|
||||
|
||||
}
|
||||
|
||||
window.TvSeriesPage = new tvSeriesPage();
|
||||
|
||||
})(jQuery, document, LibraryBrowser, window);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue