mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 08:07:10 -07:00
Adding history
This commit is contained in:
parent
6a3d886588
commit
7ab1084437
20 changed files with 289 additions and 7 deletions
|
@ -4,7 +4,8 @@ define(['app', 'Shared/ModalRegion', 'AddSeries/AddSeriesLayout',
|
|||
'Calendar/CalendarCollectionView', 'Shared/NotificationView',
|
||||
'Shared/NotFoundView', 'MainMenuView',
|
||||
'Series/Details/SeriesDetailsView', 'Series/EpisodeCollection',
|
||||
'Settings/SettingsLayout', 'Missing/MissingLayout'],
|
||||
'Settings/SettingsLayout', 'Missing/MissingLayout',
|
||||
'History/HistoryLayout'],
|
||||
function (app, modalRegion) {
|
||||
|
||||
var controller = Backbone.Marionette.Controller.extend({
|
||||
|
@ -61,6 +62,12 @@ define(['app', 'Shared/ModalRegion', 'AddSeries/AddSeriesLayout',
|
|||
NzbDrone.mainRegion.show(new NzbDrone.Missing.MissingLayout());
|
||||
},
|
||||
|
||||
history: function () {
|
||||
this._setTitle('History');
|
||||
|
||||
NzbDrone.mainRegion.show(new NzbDrone.History.HistoryLayout());
|
||||
},
|
||||
|
||||
notFound: function () {
|
||||
this._setTitle('Not Found');
|
||||
NzbDrone.mainRegion.show(new NzbDrone.Shared.NotFoundView(this));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue