From 79f69e3307d052f25bd6a35cb125541f78197b17 Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Wed, 3 Jul 2013 17:57:55 -0700 Subject: [PATCH] removed backlog from UI --- UI/Series/Edit/EditSeriesTemplate.html | 16 ------------- UI/Series/Edit/EditSeriesView.js | 8 +++---- UI/Series/SeriesModel.js | 5 ++-- .../DownloadClient/NzbgetViewTemplate.html | 21 +---------------- .../DownloadClient/SabViewTemplate.html | 19 +-------------- .../MediaManagement/Naming/ViewTemplate.html | 6 ++--- UI/Settings/Misc/MiscTemplate.html | 23 ------------------- 7 files changed, 11 insertions(+), 87 deletions(-) diff --git a/UI/Series/Edit/EditSeriesTemplate.html b/UI/Series/Edit/EditSeriesTemplate.html index 84781c02e..389b2af76 100644 --- a/UI/Series/Edit/EditSeriesTemplate.html +++ b/UI/Series/Edit/EditSeriesTemplate.html @@ -71,22 +71,6 @@ - -
- - -
- - - - -
-
-
diff --git a/UI/Series/Edit/EditSeriesView.js b/UI/Series/Edit/EditSeriesView.js index 960b0222b..2e2528573 100644 --- a/UI/Series/Edit/EditSeriesView.js +++ b/UI/Series/Edit/EditSeriesView.js @@ -13,8 +13,7 @@ define( ui: { progressbar : '.progress .bar', - qualityProfile : '.x-quality-profile', - backlogSettings: '.x-backlog-setting' + qualityProfile : '.x-quality-profile' }, events: { @@ -29,12 +28,11 @@ define( saveSeries: function () { - //Todo: Get qualityProfile + backlog setting from UI + //Todo: Get qualityProfile var qualityProfile = this.ui.qualityProfile.val(); var qualityProfileText = this.ui.qualityProfile.children('option:selected').text(); - var backlogSetting = this.ui.backlogSettings.val(); - this.model.set({ qualityProfileId: qualityProfile, backlogSetting: backlogSetting, qualityProfileName: qualityProfileText }); + this.model.set({ qualityProfileId: qualityProfile, qualityProfileName: qualityProfileText }); this.model.save(); this.trigger('saved'); diff --git a/UI/Series/SeriesModel.js b/UI/Series/SeriesModel.js index 40b8a787b..4af8715a9 100644 --- a/UI/Series/SeriesModel.js +++ b/UI/Series/SeriesModel.js @@ -2,8 +2,9 @@ define( [ 'backbone', - 'Quality/QualityProfileCollection' - ], function (Backbone, QualityProfileCollection) { + 'Quality/QualityProfileCollection', + 'underscore' + ], function (Backbone, QualityProfileCollection,_) { return Backbone.Model.extend({ urlRoot: ApiRoot + '/series', diff --git a/UI/Settings/DownloadClient/NzbgetViewTemplate.html b/UI/Settings/DownloadClient/NzbgetViewTemplate.html index f8c7f7dde..879f31e37 100644 --- a/UI/Settings/DownloadClient/NzbgetViewTemplate.html +++ b/UI/Settings/DownloadClient/NzbgetViewTemplate.html @@ -47,27 +47,8 @@
-
- - -
- - - - -
-
- -
- +
- - - - - - - - - - -
-
- +
+ + + -

- Yes - No -

- -
- - - - - - -
-
-