mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
started cleaning up episode page.
This commit is contained in:
parent
9efee65966
commit
9a42e305ad
18 changed files with 528 additions and 63 deletions
|
@ -31,17 +31,28 @@
|
|||
|
||||
return undefined;
|
||||
},
|
||||
fanArt : function () {
|
||||
var poster = _.find(this.get('images'), function (image) {
|
||||
return image.coverType === 3;
|
||||
});
|
||||
|
||||
if (poster) {
|
||||
return poster.url;
|
||||
}
|
||||
|
||||
return undefined;
|
||||
},
|
||||
traktUrl : function () {
|
||||
return "http://trakt.tv/show/" + this.get('titleSlug');
|
||||
},
|
||||
isContinuing : function () {
|
||||
if (this.get('status') === 0){
|
||||
if (this.get('status') === 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
},
|
||||
statusText: function () {
|
||||
statusText : function () {
|
||||
if (this.get('status') === 0) {
|
||||
return 'Continuing';
|
||||
}
|
||||
|
@ -56,7 +67,7 @@
|
|||
qualityProfiles : qualityProfileCollection,
|
||||
rootFolders : rootFolders,
|
||||
isExisting : false,
|
||||
status: 0
|
||||
status : 0
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue