diff --git a/BTCPayServer/Views/PaymentRequest/MinimalPaymentRequest.cshtml b/BTCPayServer/Views/PaymentRequest/MinimalPaymentRequest.cshtml index 152b7262b..f960291bb 100644 --- a/BTCPayServer/Views/PaymentRequest/MinimalPaymentRequest.cshtml +++ b/BTCPayServer/Views/PaymentRequest/MinimalPaymentRequest.cshtml @@ -147,7 +147,8 @@ } - }else if (Model.Archived) + } + else if (Model.Archived) { @@ -162,13 +163,6 @@ - diff --git a/BTCPayServer/Views/PaymentRequest/ViewPaymentRequest.cshtml b/BTCPayServer/Views/PaymentRequest/ViewPaymentRequest.cshtml index 1cddd13dc..a1db9907e 100644 --- a/BTCPayServer/Views/PaymentRequest/ViewPaymentRequest.cshtml +++ b/BTCPayServer/Views/PaymentRequest/ViewPaymentRequest.cshtml @@ -12,96 +12,162 @@ @Model.Title - - + + + @if (Model.CustomCSSLink != null) { } - @if (!Context.Request.Query.ContainsKey("simple")) - { - - - - @*We need to make sure btcpay.js is not bundled, else it will not work if there is a RootPath*@ - - } - - - + + + @*We need to make sure btcpay.js is not bundled, else it will not work if there is a RootPath*@ + @Safe.Raw(Model.EmbeddedCSS) - - - -@if (Context.Request.Query.ContainsKey("simple")) -{ - @await Html.PartialAsync("MinimalPaymentRequest", Model) -} -else -{ - - -
-
-
-
-

- {{srvModel.title}} - - - - - -

-
+ +
+