mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-02 16:52:04 +02:00
Resync'd UI and API
This commit is contained in:
@@ -29,12 +29,12 @@
|
||||
{{#if bestDateString}}
|
||||
<span class="label">{{bestDateString}}</span>
|
||||
{{else}}
|
||||
<span class="label label-inverse">{{status}}</span>
|
||||
<span class="label label-inverse">{{statusText}}</span>
|
||||
{{/if}}
|
||||
<span class="label label-info">Season {{numberOfSeasons}}</span>
|
||||
<span class="label label-info">Season {{seasonCount}}</span>
|
||||
{{else}}
|
||||
<span class="label label-important">{{status}}</span>
|
||||
<span class="label label-info">{{numberOfSeasons}} Seasons</span>
|
||||
<span class="label label-important">{{statusText}}</span>
|
||||
<span class="label label-info">{{seasonCount}} Seasons</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="span2">
|
||||
|
@@ -35,11 +35,18 @@
|
||||
return "http://trakt.tv/show/" + this.get('titleSlug');
|
||||
},
|
||||
isContinuing : function () {
|
||||
if (this.get('status') === 'Continuing'){
|
||||
if (this.get('status') === 0){
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
},
|
||||
statusText: function () {
|
||||
if (this.get('status') === 0) {
|
||||
return 'Continuing';
|
||||
}
|
||||
|
||||
return 'Ended';
|
||||
}
|
||||
},
|
||||
|
||||
@@ -48,7 +55,8 @@
|
||||
episodeCount : 0,
|
||||
qualityProfiles : qualityProfileCollection,
|
||||
rootFolders : rootFolders,
|
||||
isExisting : false
|
||||
isExisting : false,
|
||||
status: 0
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user