From d00fa42553dbf4701e6d5ae4d5802578078a222a Mon Sep 17 00:00:00 2001 From: rockstardev Date: Sun, 5 Aug 2018 22:45:48 +0200 Subject: [PATCH] Always showing currency name to prevent LND confusion Discussion: https://forkbitpay.slack.com/archives/C6PSCRFAM/p1533125977000141 --- .../Views/Invoice/Checkout-Body.cshtml | 81 ++++++++++--------- .../wwwroot/checkout/css/vex-extrastyles.css | 5 +- 2 files changed, 48 insertions(+), 38 deletions(-) diff --git a/BTCPayServer/Views/Invoice/Checkout-Body.cshtml b/BTCPayServer/Views/Invoice/Checkout-Body.cshtml index e73067e82..6af3d930a 100644 --- a/BTCPayServer/Views/Invoice/Checkout-Body.cshtml +++ b/BTCPayServer/Views/Invoice/Checkout-Body.cshtml @@ -33,45 +33,52 @@
- @if (Model.AvailableCryptos.Count > 1) - { -
-
-
- {{$t("Pay with")}} -
-
-
- @if (Model.AvailableCryptos.Count > 1) - { -
- - {{srvModel.paymentMethodName}} ({{srvModel.cryptoCode}}) - - -
-
- -
- } -
- -
+
+
+
+ {{$t("Pay with")}}
- } +
+ @if (Model.AvailableCryptos.Count > 1) + { +
+ + {{srvModel.paymentMethodName}} ({{srvModel.cryptoCode}}) + + +
+
+ +
+ } + else + { +
+ + {{srvModel.paymentMethodName}} ({{srvModel.cryptoCode}}) + +
+ + } +
+ +
+
+
+
diff --git a/BTCPayServer/wwwroot/checkout/css/vex-extrastyles.css b/BTCPayServer/wwwroot/checkout/css/vex-extrastyles.css index 846d0b1a7..a7ad02615 100644 --- a/BTCPayServer/wwwroot/checkout/css/vex-extrastyles.css +++ b/BTCPayServer/wwwroot/checkout/css/vex-extrastyles.css @@ -40,9 +40,12 @@ display: none; } +.cursorPointer { + cursor: pointer; +} + .payment__currencies { font-size: 14px; - cursor: pointer; } .payment__currencies img {