mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 08:07:10 -07:00
Added season pass for toggling monitored status of seasons
Linked from missing
This commit is contained in:
parent
694714726c
commit
6ca17942f0
12 changed files with 316 additions and 22 deletions
|
@ -16,10 +16,11 @@ define(
|
|||
'Logs/Files/Layout',
|
||||
'Release/Layout',
|
||||
'System/Layout',
|
||||
'SeasonPass/Layout',
|
||||
'Shared/NotFoundView',
|
||||
'Shared/Modal/Region'
|
||||
], function (App, Marionette, HistoryLayout, SettingsLayout, AddSeriesLayout, SeriesIndexLayout, SeriesDetailsLayout, SeriesCollection, MissingLayout, SeriesModel, CalendarLayout,
|
||||
LogsLayout, LogFileLayout, ReleaseLayout, SystemLayout, NotFoundView) {
|
||||
LogsLayout, LogFileLayout, ReleaseLayout, SystemLayout, SeasonPassLayout, NotFoundView) {
|
||||
return Marionette.Controller.extend({
|
||||
|
||||
series: function () {
|
||||
|
@ -40,11 +41,6 @@ define(
|
|||
}
|
||||
},
|
||||
|
||||
|
||||
_showSeriesDetail: function(seriesModel){
|
||||
|
||||
},
|
||||
|
||||
addSeries: function (action) {
|
||||
this._setTitle('Add Series');
|
||||
App.mainRegion.show(new AddSeriesLayout({action: action}));
|
||||
|
@ -55,7 +51,6 @@ define(
|
|||
App.mainRegion.show(new CalendarLayout());
|
||||
},
|
||||
|
||||
|
||||
settings: function (action) {
|
||||
this._setTitle('Settings');
|
||||
App.mainRegion.show(new SettingsLayout({action: action}));
|
||||
|
@ -95,6 +90,11 @@ define(
|
|||
App.mainRegion.show(new SystemLayout());
|
||||
},
|
||||
|
||||
seasonPass: function () {
|
||||
this._setTitle('Season Pass');
|
||||
App.mainRegion.show(new SeasonPassLayout());
|
||||
},
|
||||
|
||||
notFound: function () {
|
||||
this._setTitle('Not Found');
|
||||
App.mainRegion.show(new NotFoundView(this));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue