mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Removing extra setting, depending on Custom CSS for bundled themes
This commit is contained in:
@@ -29,21 +29,6 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
DefaultLang = chosen.Value;
|
||||
}
|
||||
public SelectList Languages { get; set; }
|
||||
|
||||
public SelectList ListCheckoutThemes { get; set; }
|
||||
public void SetCheckoutThemes(string dbtheme)
|
||||
{
|
||||
var list = new List<string>
|
||||
{
|
||||
"Default",
|
||||
"Legacy"
|
||||
};
|
||||
if (!list.Any(a => a == dbtheme))
|
||||
dbtheme = "Default"; // select default if not present
|
||||
|
||||
ListCheckoutThemes = new SelectList(list);
|
||||
CheckoutTheme = dbtheme;
|
||||
}
|
||||
|
||||
[Display(Name = "Default payment method on checkout")]
|
||||
public string DefaultPaymentMethod { get; set; }
|
||||
@@ -58,9 +43,6 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
[Display(Name = "Custom HTML title to display on Checkout page")]
|
||||
public string HtmlTitle { get; set; }
|
||||
|
||||
[Display(Name = "Theme used on Checkout page")]
|
||||
public string CheckoutTheme { get; set; }
|
||||
|
||||
[Display(Name = "Requires a refund email")]
|
||||
public bool RequiresRefundEmail { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user