mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
redesign series timer edit screen
This commit is contained in:
parent
67bfc785cb
commit
5e5ac0e975
8 changed files with 273 additions and 235 deletions
|
@ -252,7 +252,8 @@
|
|||
var id = item.Id || item.ItemId;
|
||||
|
||||
if (item.Type == "SeriesTimer") {
|
||||
return "livetvseriestimer.html?id=" + id;
|
||||
//return "livetvseriestimer.html?id=" + id;
|
||||
return "itemdetails.html?seriesTimerId=" + id;
|
||||
}
|
||||
|
||||
if (item.CollectionType == 'livetv') {
|
||||
|
@ -733,6 +734,10 @@
|
|||
|
||||
renderDetailImage: function (elem, item, editable, preferThumb, imageLoader, indicators) {
|
||||
|
||||
if (item.Type === 'SeriesTimer') {
|
||||
editable = false;
|
||||
}
|
||||
|
||||
var imageTags = item.ImageTags || {};
|
||||
|
||||
if (item.PrimaryImageTag) {
|
||||
|
@ -809,6 +814,14 @@
|
|||
tag: item.SeriesPrimaryImageTag
|
||||
});
|
||||
}
|
||||
else if (item.ParentPrimaryImageItemId && item.ParentPrimaryImageTag) {
|
||||
|
||||
url = ApiClient.getScaledImageUrl(item.ParentPrimaryImageItemId, {
|
||||
type: "Primary",
|
||||
maxHeight: imageHeight,
|
||||
tag: item.ParentPrimaryImageTag
|
||||
});
|
||||
}
|
||||
|
||||
html += '<div style="position:relative;">';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue