From 9950b781b40a4839ea428487f695abb74cf343fd Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Tue, 31 Jul 2018 00:26:49 +0900 Subject: [PATCH] Slight UI adjustment to disable or enable method of payment --- .../Views/Stores/AddDerivationScheme.cshtml | 13 ++++++------- BTCPayServer/Views/Stores/AddLightningNode.cshtml | 9 ++++----- BTCPayServer/Views/Stores/UpdateStore.cshtml | 11 ++++------- 3 files changed, 14 insertions(+), 19 deletions(-) diff --git a/BTCPayServer/Views/Stores/AddDerivationScheme.cshtml b/BTCPayServer/Views/Stores/AddDerivationScheme.cshtml index 6c712e2b1..939466f6b 100644 --- a/BTCPayServer/Views/Stores/AddDerivationScheme.cshtml +++ b/BTCPayServer/Views/Stores/AddDerivationScheme.cshtml @@ -16,7 +16,7 @@
- @if (!Model.Confirmation) + @if(!Model.Confirmation) {
Derivation Scheme
@@ -33,7 +33,7 @@ -
- - - +
+ +
} @@ -102,7 +101,7 @@ - @foreach (var sample in Model.AddressSamples) + @foreach(var sample in Model.AddressSamples) { @sample.KeyPath diff --git a/BTCPayServer/Views/Stores/AddLightningNode.cshtml b/BTCPayServer/Views/Stores/AddLightningNode.cshtml index f303dbc09..25673d172 100644 --- a/BTCPayServer/Views/Stores/AddLightningNode.cshtml +++ b/BTCPayServer/Views/Stores/AddLightningNode.cshtml @@ -55,17 +55,16 @@ - @if (Model.InternalLightningNode != null) + @if(Model.InternalLightningNode != null) {

You can use the internal lightning node by clicking here

}
-
- - - +
+ +
diff --git a/BTCPayServer/Views/Stores/UpdateStore.cshtml b/BTCPayServer/Views/Stores/UpdateStore.cshtml index 91b39c1f2..2218887f4 100644 --- a/BTCPayServer/Views/Stores/UpdateStore.cshtml +++ b/BTCPayServer/Views/Stores/UpdateStore.cshtml @@ -70,7 +70,7 @@ Crypto Derivation Scheme - Status + Enabled Actions @@ -81,10 +81,7 @@ @scheme.Crypto @scheme.Value - @if (!string.IsNullOrWhiteSpace(scheme.Value)) - { - @(scheme.Enabled ? "Enabled" : "Disabled") - } + @(scheme.Enabled ? "Yes" : "No") @if(!string.IsNullOrWhiteSpace(scheme.Value)) @@ -113,7 +110,7 @@ Crypto Address - Status + Enabled Actions @@ -124,7 +121,7 @@ @scheme.CryptoCode @scheme.Address - @(scheme.Enabled ? "Enabled" : "Disabled") + @(scheme.Enabled ? "Yes" : "No") Modify