Added Paypalme options

This commit is contained in:
Jim MacKenzie 2016-10-07 21:05:06 -05:00
commit 472045a3d4
2 changed files with 24 additions and 2 deletions

View file

@ -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; }
/// <summary>
/// The CSS name of the theme we want
/// </summary>

View file

@ -253,10 +253,31 @@
}
</div>
</div>
<div class="form-group">
<div class="checkbox">
@if (Model.EnablePayPalMe)
{
<input type="checkbox" id="EnablePayPalMe" name="EnablePayPalMe" checked="checked">
<label for="EnablePayPalMe">Enable custom paypal.me link</label>
}
else
{
<input type="checkbox" id="EnablePayPalMe" name="EnablePayPalMe"><label for="EnablePayPalMe">Enable custom paypal.me donate link</label>
}
</div>
</div>
<div class="form-group">
<label for="PayPalMeName" class="control-label">Paypal.me name</label>
<div>
<input type="text" class="form-control-custom form-control " id="PayPalMeName" name="PayPalMeName" placeholder="paypay.me name" value="@Model.PayPalMeName">
</div>
</div>
<p class="form-group">A comma separated list of users whose requests do not require approval (These users also do not have a request limit).</p>
<div class="form-group">
<label for="NoApprovalUsers" class="control-label">Approval White listed Users</label>
<div>