mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Checkout v1: Apply custom style (#5628)
Applies the custom CSS in Checkout v1 and prevents that it interferes with the styling of Checkout v2. Fixes #5615 and fixes #5616.
This commit is contained in:
@@ -851,10 +851,8 @@ namespace BTCPayServer.Controllers
|
|||||||
DefaultLang = lang ?? invoice.DefaultLanguage ?? storeBlob.DefaultLang ?? "en",
|
DefaultLang = lang ?? invoice.DefaultLanguage ?? storeBlob.DefaultLang ?? "en",
|
||||||
ShowPayInWalletButton = storeBlob.ShowPayInWalletButton,
|
ShowPayInWalletButton = storeBlob.ShowPayInWalletButton,
|
||||||
ShowStoreHeader = storeBlob.ShowStoreHeader,
|
ShowStoreHeader = storeBlob.ShowStoreHeader,
|
||||||
StoreBranding = new StoreBrandingViewModel(storeBlob)
|
StoreBranding = new StoreBrandingViewModel(storeBlob),
|
||||||
{
|
CustomCSSLink = storeBlob.CustomCSS,
|
||||||
CustomCSSLink = storeBlob.CustomCSS
|
|
||||||
},
|
|
||||||
CustomLogoLink = storeBlob.CustomLogo,
|
CustomLogoLink = storeBlob.CustomLogo,
|
||||||
CheckoutType = invoice.CheckoutType ?? storeBlob.CheckoutType,
|
CheckoutType = invoice.CheckoutType ?? storeBlob.CheckoutType,
|
||||||
HtmlTitle = storeBlob.HtmlTitle ?? "BTCPay Invoice",
|
HtmlTitle = storeBlob.HtmlTitle ?? "BTCPay Invoice",
|
||||||
|
|||||||
Reference in New Issue
Block a user