From 472045a3d464009e8646be459b60fe2d18aee01b Mon Sep 17 00:00:00 2001 From: Jim MacKenzie Date: Fri, 7 Oct 2016 21:05:06 -0500 Subject: [PATCH] Added Paypalme options --- .../SettingModels/PlexRequestSettings.cs | 3 ++- PlexRequests.UI/Views/Admin/Settings.cshtml | 23 ++++++++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/PlexRequests.Core/SettingModels/PlexRequestSettings.cs b/PlexRequests.Core/SettingModels/PlexRequestSettings.cs index 6c1d95595..c1d0ffca2 100644 --- a/PlexRequests.Core/SettingModels/PlexRequestSettings.cs +++ b/PlexRequests.Core/SettingModels/PlexRequestSettings.cs @@ -58,7 +58,8 @@ namespace PlexRequests.Core.SettingModels public bool Wizard { get; set; } public bool DisableTvRequestsByEpisode { get; set; } public bool DisableTvRequestsBySeason { get; set; } - + public string PayPalMeName { get; set; } + public bool EnablePayPalMe { get; set; } /// /// The CSS name of the theme we want /// diff --git a/PlexRequests.UI/Views/Admin/Settings.cshtml b/PlexRequests.UI/Views/Admin/Settings.cshtml index 2dfe5c861..d1dee9e28 100644 --- a/PlexRequests.UI/Views/Admin/Settings.cshtml +++ b/PlexRequests.UI/Views/Admin/Settings.cshtml @@ -253,10 +253,31 @@ } +
+
+ + @if (Model.EnablePayPalMe) + { + + + } + else + { + + } +
+
+
+ +
+ +
+
+ + -

A comma separated list of users whose requests do not require approval (These users also do not have a request limit).