diff --git a/BTCPayServer/Views/PaymentRequest/ViewPaymentRequest.cshtml b/BTCPayServer/Views/PaymentRequest/ViewPaymentRequest.cshtml index e1bd53313..54e921de7 100644 --- a/BTCPayServer/Views/PaymentRequest/ViewPaymentRequest.cshtml +++ b/BTCPayServer/Views/PaymentRequest/ViewPaymentRequest.cshtml @@ -1,4 +1,4 @@ -@using BTCPayServer.Services.Invoices +@using BTCPayServer.Services.Invoices @using BTCPayServer.Client.Models @using BTCPayServer.Abstractions.Contracts @model BTCPayServer.Models.PaymentRequestViewModels.ViewPaymentRequestViewModel @@ -83,10 +83,10 @@ @Model.LastUpdated.ToString("g") @Model.LastUpdated.ToString("g") - + Print - + Copy Link @@ -203,34 +203,38 @@ - + Invoice Summary - - @if (!string.IsNullOrEmpty(Model.Description) && Model.Description != "") - { + @if (!string.IsNullOrEmpty(Model.Description) && Model.Description != "") + { + @Safe.Raw(Model.Description) - } - + + } + else + { + No details provided. + } - + Payment Details - @Model.AmountDueFormatted - Amount due + @Model.AmountDueFormatted + Amount due - @Model.AmountCollectedFormatted - Amount paid + @Model.AmountCollectedFormatted + Amount paid - @Model.AmountFormatted - Total requested + @Model.AmountFormatted + Total requested @@ -238,13 +242,13 @@ - - Payment History + + Payment History @if (Model.Invoices == null || !Model.Invoices.Any()) { - No payments made yet. + No payments made yet. } else { @@ -310,7 +314,7 @@ - No payments made yet. + No payments made yet. diff --git a/BTCPayServer/Views/PullPayment/ViewPullPayment.cshtml b/BTCPayServer/Views/PullPayment/ViewPullPayment.cshtml index af419b2fa..c47b9c321 100644 --- a/BTCPayServer/Views/PullPayment/ViewPullPayment.cshtml +++ b/BTCPayServer/Views/PullPayment/ViewPullPayment.cshtml @@ -93,7 +93,7 @@ } - + @if (!Model.Title.IsNullOrWhiteSpace()) { @Model.Title @@ -107,7 +107,7 @@ Last Updated @Model.LastRefreshed.ToString("g") - + Copy Link @@ -126,23 +126,23 @@ - + Payment Details - @Model.AmountDueFormatted - Available claim + @Model.AmountDueFormatted + Available claim - @Model.AmountCollectedFormatted - Already claimed + @Model.AmountCollectedFormatted + Already claimed - @Model.AmountFormatted - Claim limit + @Model.AmountFormatted + Claim limit @@ -150,8 +150,8 @@ - - Claims + + Claims @if (Model.Payouts.Any()) { @@ -190,7 +190,7 @@ } else { - No claim made yet. + No claim made yet. }
No details provided.
No payments made yet.
No claim made yet.