From 3d4ef48ceb422a9f373e392d1a131abbcefbee53 Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Tue, 3 Aug 2021 13:13:18 +0200 Subject: [PATCH] View cleanup --- BTCPayServer/Views/Wallets/_PSBTInfo.cshtml | 28 +++------------------ 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/BTCPayServer/Views/Wallets/_PSBTInfo.cshtml b/BTCPayServer/Views/Wallets/_PSBTInfo.cshtml index ec43ce017..37855c0f0 100644 --- a/BTCPayServer/Views/Wallets/_PSBTInfo.cshtml +++ b/BTCPayServer/Views/Wallets/_PSBTInfo.cshtml @@ -5,14 +5,7 @@

This transaction will change your balance:
- @if (Model.Positive) - { - @Model.BalanceChange - } - else - { - @Model.BalanceChange - } + @Model.BalanceChange

} @@ -38,15 +31,7 @@ { @input.Index } - - @if (input.Positive) - { - @input.BalanceChange - } - else - { - @input.BalanceChange - } + @input.BalanceChange } @@ -65,14 +50,7 @@ { @destination.Destination - @if (destination.Positive) - { - @destination.Balance - } - else - { - @destination.Balance - } + @destination.Balance }