mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-22 22:23:34 -07:00
Added Paypalme options
This commit is contained in:
parent
9a3eb5fba6
commit
472045a3d4
2 changed files with 24 additions and 2 deletions
|
@ -58,7 +58,8 @@ namespace PlexRequests.Core.SettingModels
|
||||||
public bool Wizard { get; set; }
|
public bool Wizard { get; set; }
|
||||||
public bool DisableTvRequestsByEpisode { get; set; }
|
public bool DisableTvRequestsByEpisode { get; set; }
|
||||||
public bool DisableTvRequestsBySeason { get; set; }
|
public bool DisableTvRequestsBySeason { get; set; }
|
||||||
|
public string PayPalMeName { get; set; }
|
||||||
|
public bool EnablePayPalMe { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The CSS name of the theme we want
|
/// The CSS name of the theme we want
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -253,10 +253,31 @@
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</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">
|
<div class="form-group">
|
||||||
<label for="NoApprovalUsers" class="control-label">Approval White listed Users</label>
|
<label for="NoApprovalUsers" class="control-label">Approval White listed Users</label>
|
||||||
<div>
|
<div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue