From 9b5d22455b992543a272b65cf93d206457e8a5b6 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Tue, 4 Jun 2013 22:08:10 -0700 Subject: [PATCH] added simple /rss page. needs some custom backgrid cells. --- UI/Controller.js | 6 ++++++ UI/Routing.js | 1 + UI/app.js | 1 + 3 files changed, 8 insertions(+) diff --git a/UI/Controller.js b/UI/Controller.js index b1e1d71c2..3b661457f 100644 --- a/UI/Controller.js +++ b/UI/Controller.js @@ -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()); diff --git a/UI/Routing.js b/UI/Routing.js index 53c7914a2..173b41fc8 100644 --- a/UI/Routing.js +++ b/UI/Routing.js @@ -17,6 +17,7 @@ require(['app', 'Controller'], function (app, controller) { 'missing' : 'missing', 'history' : 'history', 'logs' : 'logs', + 'rss' : 'rss', ':whatever' : 'notFound' } }); diff --git a/UI/app.js b/UI/app.js index 020b361d1..3d2c36c8e 100644 --- a/UI/app.js +++ b/UI/app.js @@ -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 = {