diff --git a/BTCPayServer/Views/Shared/Crowdfund/Public/ViewCrowdfund.cshtml b/BTCPayServer/Views/Shared/Crowdfund/Public/ViewCrowdfund.cshtml index d6ecc9b55..08004cb83 100644 --- a/BTCPayServer/Views/Shared/Crowdfund/Public/ViewCrowdfund.cshtml +++ b/BTCPayServer/Views/Shared/Crowdfund/Public/ViewCrowdfund.cshtml @@ -14,7 +14,7 @@ } } - + diff --git a/BTCPayServer/Views/Shared/Crowdfund/UpdateCrowdfund.cshtml b/BTCPayServer/Views/Shared/Crowdfund/UpdateCrowdfund.cshtml index 7760e7dc3..73c2465f5 100644 --- a/BTCPayServer/Views/Shared/Crowdfund/UpdateCrowdfund.cshtml +++ b/BTCPayServer/Views/Shared/Crowdfund/UpdateCrowdfund.cshtml @@ -293,31 +293,6 @@ -
-

- -

-
-
-
- - - - - - -
-
- - - -
-
-
-

+ @* We are deprecating the custom CSS options in favor of the store branding approach. + Display this section only if these values are set. *@ + @if (!string.IsNullOrWhiteSpace(Model.CustomCSSLink) || !string.IsNullOrWhiteSpace(Model.EmbeddedCSS)) + { +
+

+ +

+
+
+
+ + + + + + +
+
+ + + +
+
+
+
+ } diff --git a/BTCPayServer/Views/Shared/PointOfSale/Public/_Layout.cshtml b/BTCPayServer/Views/Shared/PointOfSale/Public/_Layout.cshtml index b65940d1e..391b5f7e0 100644 --- a/BTCPayServer/Views/Shared/PointOfSale/Public/_Layout.cshtml +++ b/BTCPayServer/Views/Shared/PointOfSale/Public/_Layout.cshtml @@ -33,7 +33,7 @@ } } - + diff --git a/BTCPayServer/Views/Shared/PointOfSale/UpdatePointOfSale.cshtml b/BTCPayServer/Views/Shared/PointOfSale/UpdatePointOfSale.cshtml index 68e2f324b..0cb77564d 100644 --- a/BTCPayServer/Views/Shared/PointOfSale/UpdatePointOfSale.cshtml +++ b/BTCPayServer/Views/Shared/PointOfSale/UpdatePointOfSale.cshtml @@ -266,31 +266,36 @@ -
-

- -

-
-
-
- - - - - - -
-
- - - + @* We are deprecating the custom CSS options in favor of the store branding approach. + Display this section only if these values are set. *@ + @if (!string.IsNullOrWhiteSpace(Model.CustomCSSLink) || !string.IsNullOrWhiteSpace(Model.EmbeddedCSS)) + { +
+

+ +

+
+
+
+ + + + + + +
+
+ + + +
-
+ }
diff --git a/BTCPayServer/Views/UIPaymentRequest/EditPaymentRequest.cshtml b/BTCPayServer/Views/UIPaymentRequest/EditPaymentRequest.cshtml index d1d65f0f0..4df02098a 100644 --- a/BTCPayServer/Views/UIPaymentRequest/EditPaymentRequest.cshtml +++ b/BTCPayServer/Views/UIPaymentRequest/EditPaymentRequest.cshtml @@ -124,32 +124,37 @@ -
-
-

Additional Options

-
-
-
-

- -

-
-
-
- - - - - - -
-
- - - + @* We are deprecating the custom CSS options in favor of the store branding approach. + Display this section only if these values are set. *@ + @if (!string.IsNullOrWhiteSpace(Model.CustomCSSLink) || !string.IsNullOrWhiteSpace(Model.EmbeddedCSS)) + { +
+
+

Additional Options

+
+
+
+

+ +

+
+
+
+ + + + + + +
+
+ + + +
@@ -157,7 +162,7 @@
-
+ } @if (!string.IsNullOrEmpty(Model.Id)) diff --git a/BTCPayServer/Views/UIPaymentRequest/ViewPaymentRequest.cshtml b/BTCPayServer/Views/UIPaymentRequest/ViewPaymentRequest.cshtml index 8d9d994b3..64c610278 100644 --- a/BTCPayServer/Views/UIPaymentRequest/ViewPaymentRequest.cshtml +++ b/BTCPayServer/Views/UIPaymentRequest/ViewPaymentRequest.cshtml @@ -32,7 +32,7 @@ } - + diff --git a/BTCPayServer/Views/UIPullPayment/EditPullPayment.cshtml b/BTCPayServer/Views/UIPullPayment/EditPullPayment.cshtml index c116a55da..9f546a20b 100644 --- a/BTCPayServer/Views/UIPullPayment/EditPullPayment.cshtml +++ b/BTCPayServer/Views/UIPullPayment/EditPullPayment.cshtml @@ -54,32 +54,37 @@
-
-
-

Additional Options

-
-
-
-

- -

-
-
-
- - - - - - -
-
- - - + @* We are deprecating the custom CSS options in favor of the store branding approach. + Display this section only if these values are set. *@ + @if (!string.IsNullOrWhiteSpace(Model.CustomCSSLink) || !string.IsNullOrWhiteSpace(Model.EmbeddedCSS)) + { +
+
+

Additional Options

+
+
+
+

+ +

+
+
+
+ + + + + + +
+
+ + + +
@@ -87,5 +92,5 @@
-
+ } diff --git a/BTCPayServer/Views/UIPullPayment/ViewPullPayment.cshtml b/BTCPayServer/Views/UIPullPayment/ViewPullPayment.cshtml index 9995e8378..5798157e4 100644 --- a/BTCPayServer/Views/UIPullPayment/ViewPullPayment.cshtml +++ b/BTCPayServer/Views/UIPullPayment/ViewPullPayment.cshtml @@ -25,7 +25,7 @@ ViewData.SetBlazorAllowed(false); } - + diff --git a/BTCPayServer/Views/UIStorePullPayments/NewPullPayment.cshtml b/BTCPayServer/Views/UIStorePullPayments/NewPullPayment.cshtml index 93bf72a96..bba4b9b3a 100644 --- a/BTCPayServer/Views/UIStorePullPayments/NewPullPayment.cshtml +++ b/BTCPayServer/Views/UIStorePullPayments/NewPullPayment.cshtml @@ -74,11 +74,36 @@

Additional Options

+
+

+ +

+
+
+
+ +
+ + days +
+ +
+
+
+
+
+ @* We are deprecating the custom CSS options in favor of the store branding approach. + Display this section only if these values are set. *@ + @if (!string.IsNullOrWhiteSpace(Model.CustomCSSLink) || !string.IsNullOrWhiteSpace(Model.EmbeddedCSS)) + {

@@ -88,7 +113,7 @@ - +
@@ -99,27 +124,7 @@
-
-

- -

-
-
-
- -
- - days -
- -
-
-
-
-
+ }