mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 13:25:13 +02:00
New: Option to show unmonitored episodes on calendar
This commit is contained in:
@@ -20,6 +20,7 @@ Handlebars.registerHelper('StatusLevel', function() {
|
||||
var currentTime = moment();
|
||||
var start = moment(this.airDateUtc);
|
||||
var end = moment(this.end);
|
||||
var monitored = this.series.monitored && this.monitored;
|
||||
|
||||
if (hasFile) {
|
||||
return 'success';
|
||||
@@ -29,6 +30,10 @@ Handlebars.registerHelper('StatusLevel', function() {
|
||||
return 'purple';
|
||||
}
|
||||
|
||||
else if (!monitored) {
|
||||
return 'unmonitored';
|
||||
}
|
||||
|
||||
if (this.episodeNumber === 1) {
|
||||
return 'premiere';
|
||||
}
|
||||
|
Reference in New Issue
Block a user