added /logs

This commit is contained in:
Keivan Beigi 2013-06-04 17:49:53 -07:00
parent fc7d4536ac
commit 9160343a51
16 changed files with 231 additions and 16 deletions

View file

@ -10,6 +10,7 @@ define(['app',
'Series/Details/SeriesDetailsLayout',
'Series/EpisodeCollection',
'Settings/SettingsLayout',
'Logs/Layout',
'Missing/MissingLayout',
'History/HistoryLayout'],
function () {
@ -62,11 +63,17 @@ define(['app',
NzbDrone.mainRegion.show(new NzbDrone.History.HistoryLayout());
},
logs: function () {
this._setTitle('logs');
NzbDrone.mainRegion.show(new NzbDrone.Logs.Layout());
},
notFound: function () {
this._setTitle('Not Found');
NzbDrone.mainRegion.show(new NzbDrone.Shared.NotFoundView(this));
},
_setTitle: function (title) {
//$('#title-region').html(title);