1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +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', 'Series/EpisodeCollection',
'Settings/SettingsLayout', 'Settings/SettingsLayout',
'Logs/Layout', 'Logs/Layout',
'Release/Layout',
'Missing/MissingLayout', 'Missing/MissingLayout',
'History/HistoryLayout'], 'History/HistoryLayout'],
function () { function () {
@ -63,6 +64,11 @@ define(['app',
NzbDrone.mainRegion.show(new NzbDrone.History.HistoryLayout()); NzbDrone.mainRegion.show(new NzbDrone.History.HistoryLayout());
}, },
rss: function () {
this._setTitle('RSS');
NzbDrone.mainRegion.show(new NzbDrone.Release.Layout());
},
logs: function () { logs: function () {
this._setTitle('logs'); this._setTitle('logs');
NzbDrone.mainRegion.show(new NzbDrone.Logs.Layout()); NzbDrone.mainRegion.show(new NzbDrone.Logs.Layout());

View File

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

View File

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