mirror of https://github.com/lidarr/Lidarr
New: Added missing absolute episode number warning for anime to calendar view as well.
Fixes #486
This commit is contained in:
parent
8917ea9cc9
commit
30ab5bc17f
|
@ -6,6 +6,7 @@ var CalendarCollection = require('./CalendarCollection');
|
||||||
var UiSettings = require('../Shared/UiSettingsModel');
|
var UiSettings = require('../Shared/UiSettingsModel');
|
||||||
var QueueCollection = require('../Activity/Queue/QueueCollection');
|
var QueueCollection = require('../Activity/Queue/QueueCollection');
|
||||||
var Config = require('../Config');
|
var Config = require('../Config');
|
||||||
|
var SeriesCollection = require('../Series/SeriesCollection');
|
||||||
|
|
||||||
require('../Mixins/backbone.signalr.mixin');
|
require('../Mixins/backbone.signalr.mixin');
|
||||||
require('fullcalendar');
|
require('fullcalendar');
|
||||||
|
@ -94,6 +95,10 @@ module.exports = Marionette.ItemView.extend({
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (SeriesCollection.get(event.model.get('seriesId')).get('seriesType') === 'anime' && event.model.get('seasonNumber') > 0 && !event.model.has('absoluteEpisodeNumber')) {
|
||||||
|
this._addStatusIcon(element, 'icon-sonarr-form-warning', 'Episode does not have an absolute episode number');
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
_eventAfterAllRender : function () {
|
_eventAfterAllRender : function () {
|
||||||
|
|
Loading…
Reference in New Issue