1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

Toggle monitored status from season pass as well as all seasons (skip specials)

This commit is contained in:
Mark McDowall
2013-09-23 17:53:56 -07:00
parent 154a6b39be
commit f32cbbb224
9 changed files with 81 additions and 22 deletions
+33
View File
@@ -0,0 +1,33 @@
'use strict';
define(
[
'marionette',
'Series/SeriesCollection',
'Series/SeasonCollection',
'SeasonPass/SeriesCollectionView',
'Shared/LoadingView'
], function (Marionette,
SeriesCollection,
SeasonCollection,
SeriesCollectionView,
LoadingView) {
return Marionette.Layout.extend({
template: 'SeasonPass/SeasonPassLayoutTemplate',
regions: {
series: '#x-series'
},
onShow: function () {
var self = this;
this.series.show(new LoadingView());
this.seriesCollection = SeriesCollection;
self.series.show(new SeriesCollectionView({
collection: self.seriesCollection
}));
}
});
});