1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-31 07:52:37 +01:00

added simple /rss page. needs some custom backgrid cells.

This commit is contained in:
kay.one 2013-06-04 22:08:10 -07:00
parent 5c05f6b740
commit 9b5d22455b
3 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,7 @@ define(['app',
'Series/EpisodeCollection',
'Settings/SettingsLayout',
'Logs/Layout',
'Release/Layout',
'Missing/MissingLayout',
'History/HistoryLayout'],
function () {
@ -63,6 +64,11 @@ define(['app',
NzbDrone.mainRegion.show(new NzbDrone.History.HistoryLayout());
},
rss: function () {
this._setTitle('RSS');
NzbDrone.mainRegion.show(new NzbDrone.Release.Layout());
},
logs: function () {
this._setTitle('logs');
NzbDrone.mainRegion.show(new NzbDrone.Logs.Layout());

View File

@ -17,6 +17,7 @@ require(['app', 'Controller'], function (app, controller) {
'missing' : 'missing',
'history' : 'history',
'logs' : 'logs',
'rss' : 'rss',
':whatever' : 'notFound'
}
});

View File

@ -83,6 +83,7 @@ define('app', ['shared/modal/region'], function (ModalRegion) {
window.NzbDrone.Missing = {};
window.NzbDrone.History = {};
window.NzbDrone.Logs = {};
window.NzbDrone.Release = {};
window.NzbDrone.Mixins = {};
window.NzbDrone.Events = {