|
|
@ -4,6 +4,8 @@ define(
|
|
|
|
'app',
|
|
|
|
'app',
|
|
|
|
'Settings/SettingsLayout',
|
|
|
|
'Settings/SettingsLayout',
|
|
|
|
'AddSeries/AddSeriesLayout',
|
|
|
|
'AddSeries/AddSeriesLayout',
|
|
|
|
|
|
|
|
'Missing/MissingLayout',
|
|
|
|
|
|
|
|
'History/HistoryLayout',
|
|
|
|
'Form/FormBuilder',
|
|
|
|
'Form/FormBuilder',
|
|
|
|
'Series/Index/SeriesIndexLayout',
|
|
|
|
'Series/Index/SeriesIndexLayout',
|
|
|
|
'Calendar/CalendarLayout',
|
|
|
|
'Calendar/CalendarLayout',
|
|
|
@ -14,12 +16,10 @@ define(
|
|
|
|
'Series/EpisodeCollection',
|
|
|
|
'Series/EpisodeCollection',
|
|
|
|
'Logs/Layout',
|
|
|
|
'Logs/Layout',
|
|
|
|
'Release/Layout',
|
|
|
|
'Release/Layout',
|
|
|
|
'Missing/MissingLayout',
|
|
|
|
|
|
|
|
'History/HistoryLayout',
|
|
|
|
|
|
|
|
'Shared/FormatHelpers',
|
|
|
|
'Shared/FormatHelpers',
|
|
|
|
'Shared/TemplateHelpers',
|
|
|
|
'Shared/TemplateHelpers',
|
|
|
|
'Shared/Footer/View'
|
|
|
|
'Shared/Footer/View'
|
|
|
|
], function (App, SettingsLayout, AddSeriesLayout) {
|
|
|
|
], function (App, SettingsLayout, AddSeriesLayout, MissingLayout, HistoryLayout) {
|
|
|
|
var controller = Backbone.Marionette.Controller.extend({
|
|
|
|
var controller = Backbone.Marionette.Controller.extend({
|
|
|
|
|
|
|
|
|
|
|
|
series : function () {
|
|
|
|
series : function () {
|
|
|
@ -58,13 +58,13 @@ define(
|
|
|
|
missing: function () {
|
|
|
|
missing: function () {
|
|
|
|
this._setTitle('Missing');
|
|
|
|
this._setTitle('Missing');
|
|
|
|
|
|
|
|
|
|
|
|
App.mainRegion.show(new NzbDrone.Missing.MissingLayout());
|
|
|
|
App.mainRegion.show(new MissingLayout());
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
history: function () {
|
|
|
|
history: function () {
|
|
|
|
this._setTitle('History');
|
|
|
|
this._setTitle('History');
|
|
|
|
|
|
|
|
|
|
|
|
App.mainRegion.show(new NzbDrone.History.HistoryLayout());
|
|
|
|
App.mainRegion.show(new HistoryLayout());
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
rss: function () {
|
|
|
|
rss: function () {
|
|
|
|