From 63e1c5807e0a2373652348fb0024fdfcbdd0ea0f Mon Sep 17 00:00:00 2001 From: Umar Bolatov Date: Sun, 24 Oct 2021 14:33:47 -0700 Subject: [PATCH] Add number formatting in crowdfund app --- BTCPayServer/Views/AppsPublic/ViewCrowdfund.cshtml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/BTCPayServer/Views/AppsPublic/ViewCrowdfund.cshtml b/BTCPayServer/Views/AppsPublic/ViewCrowdfund.cshtml index 9b99274d4..835d16d94 100644 --- a/BTCPayServer/Views/AppsPublic/ViewCrowdfund.cshtml +++ b/BTCPayServer/Views/AppsPublic/ViewCrowdfund.cshtml @@ -65,7 +65,7 @@ {

- @Math.Round(Model.TargetAmount.GetValueOrDefault(0)) @Model.TargetCurrency + @Math.Round(Model.TargetAmount.GetValueOrDefault(0)) @Model.TargetCurrency

@if (Model.ResetEveryAmount > 0 && !Model.NeverReset) { @@ -123,7 +123,7 @@
-

@Math.Round(Model.Info.CurrentAmount + Model.Info.CurrentPendingAmount) @Model.TargetCurrency

+

@Math.Round(Model.Info.CurrentAmount + Model.Info.CurrentPendingAmount) @Model.TargetCurrency

Raised
    @@ -143,7 +143,7 @@
-

@Model.Info.TotalContributors

+

@Model.Info.TotalContributors

Contributors
@if (Model.StartDate.HasValue || Model.EndDate.HasValue) @@ -327,7 +327,7 @@ {{perk.title? perk.title : perk.id}} @@ -366,10 +366,10 @@