From 8b8dfb0d72a70276a1f0793f7832dad1dabe559c Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 29 May 2011 21:49:56 -0700 Subject: [PATCH] Profiles wrap horizontally now, instead of making the page super long. On load the Unknown quality is removed from the dropdownlist if it exists. --- NzbDrone.Web/Views/Settings/Quality.cshtml | 36 ++++++++----------- .../Views/Settings/QualityProfileItem.cshtml | 4 ++- 2 files changed, 18 insertions(+), 22 deletions(-) diff --git a/NzbDrone.Web/Views/Settings/Quality.cshtml b/NzbDrone.Web/Views/Settings/Quality.cshtml index 6443077fd..e01cb8957 100644 --- a/NzbDrone.Web/Views/Settings/Quality.cshtml +++ b/NzbDrone.Web/Views/Settings/Quality.cshtml @@ -44,10 +44,10 @@ @using (Html.BeginForm("SaveQuality", "Settings", FormMethod.Post, new {id = "form", name = "form"})) { -
+
Quality -
+
@Html.LabelFor(m => m.DefaultQualityProfileId)
@@ -59,30 +59,24 @@
- -
-
- - -
- @foreach (var item in Model.Profiles) - { - Html.RenderAction("GetQualityProfileView", item); - } -
+
+ -
- +
+ @foreach (var item in Model.Profiles) + { + Html.RenderAction("GetQualityProfileView", item); + }
-
-} + +
+ }