diff --git a/BTCPayServer/Models/StoreViewModels/StoreViewModel.cs b/BTCPayServer/Models/StoreViewModels/StoreViewModel.cs index c91280e3d..7e5990d1d 100644 --- a/BTCPayServer/Models/StoreViewModels/StoreViewModel.cs +++ b/BTCPayServer/Models/StoreViewModels/StoreViewModel.cs @@ -56,7 +56,7 @@ namespace BTCPayServer.Models.StoreViewModels public List ThirdPartyPaymentMethods { get; set; } = new List(); - [Display(Name = "Invoice expires if the full amount has not been paid after ... minutes")] + [Display(Name = "Invoice expires if the full amount has not been paid after …")] [Range(1, 60 * 24 * 24)] public int InvoiceExpiration { @@ -64,7 +64,7 @@ namespace BTCPayServer.Models.StoreViewModels set; } - [Display(Name = "Payment invalid if transactions fails to confirm ... minutes after invoice expiration")] + [Display(Name = "Payment invalid if transactions fails to confirm … after invoice expiration")] [Range(10, 60 * 24 * 24)] public int MonitoringExpiration { @@ -72,13 +72,13 @@ namespace BTCPayServer.Models.StoreViewModels set; } - [Display(Name = "Consider the invoice confirmed when the payment transaction...")] + [Display(Name = "Consider the invoice confirmed when the payment transaction …")] public SpeedPolicy SpeedPolicy { get; set; } - [Display(Name = "Add additional fee (network fee) to invoice...")] + [Display(Name = "Add additional fee (network fee) to invoice …")] public NetworkFeeMode NetworkFeeMode { get; set; diff --git a/BTCPayServer/Views/Stores/AddDerivationScheme.cshtml b/BTCPayServer/Views/Stores/AddDerivationScheme.cshtml index 97bcf0bb6..d91a382eb 100644 --- a/BTCPayServer/Views/Stores/AddDerivationScheme.cshtml +++ b/BTCPayServer/Views/Stores/AddDerivationScheme.cshtml @@ -14,11 +14,16 @@ } + +@if (!ViewContext.ModelState.IsValid) +{
+} + diff --git a/BTCPayServer/Views/Stores/CheckoutExperience.cshtml b/BTCPayServer/Views/Stores/CheckoutExperience.cshtml index 4ba445a70..96340b764 100644 --- a/BTCPayServer/Views/Stores/CheckoutExperience.cshtml +++ b/BTCPayServer/Views/Stores/CheckoutExperience.cshtml @@ -6,24 +6,103 @@ +@if (!ViewContext.ModelState.IsValid) +{
+} +
+

Payment

+
+ + +
+
+
+ + +
+
+
+ +
+ +
+ Example: 6.15 USD +
+
+ +
+
+ +
+ +
+ Example: 21.0 USD +
+
+ +
+
+
+ + + +
+
+
+
+ + + +
+
+
+
+ + + +
+
+
+
+ + +

Fee will be shown for BTC and LTC onchain payments only.

+
+
+
+ + + +
+ +

Appearance

+
+ + +
+
+ + + +
- +
- +

Bundled Themes: @@ -44,65 +123,6 @@ }

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

Example: 5.50 USD

-
-
- - - -

Example: 5.50 USD

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

Fee will be shown for BTC and LTC onchain payments only.

-
-
-
- - - -
diff --git a/BTCPayServer/Views/Stores/CreateToken.cshtml b/BTCPayServer/Views/Stores/CreateToken.cshtml index aa1229503..d28fceaa2 100644 --- a/BTCPayServer/Views/Stores/CreateToken.cshtml +++ b/BTCPayServer/Views/Stores/CreateToken.cshtml @@ -12,32 +12,35 @@
- @if(ViewBag.HidePublicKey) + @if (ViewBag.HidePublicKey) { optional }
- @if(!ViewBag.HidePublicKey) + @if (!ViewBag.HidePublicKey) {
Keep empty for server-initiated pairing -
} +
+ } - @if(ViewBag.ShowStores) + @if (ViewBag.ShowStores) {
-
} + + } else { - } + + }
diff --git a/BTCPayServer/Views/Stores/ListTokens.cshtml b/BTCPayServer/Views/Stores/ListTokens.cshtml index 35355dfee..9274ac99c 100644 --- a/BTCPayServer/Views/Stores/ListTokens.cshtml +++ b/BTCPayServer/Views/Stores/ListTokens.cshtml @@ -7,9 +7,10 @@ @if (Model.StoreNotConfigured) { -