@using BTCPayServer.Models.AppViewModels @using Microsoft.CodeAnalysis.CSharp.Syntax @model BTCPayServer.Models.AppViewModels.ViewCrowdfundViewModel
@if (!string.IsNullOrEmpty(Model.MainImageUrl)) { }

@Model.Title @if (!Model.Started && Model.StartDate.HasValue) { Starts @Model.StartDate.Value.Subtract(DateTime.Now.ToUniversalTime()) } else if (Model.Started && !Model.Ended && Model.EndDate.HasValue) { Ends @Model.EndDate.Value.Subtract(DateTime.Now.ToUniversalTime()) } else if (Model.Started && !Model.Ended && !Model.EndDate.HasValue) { Currently Active! }

@if (Model.TargetAmount.HasValue) { @Model.TargetAmount @Model.TargetCurrency @if (Model.ResetEveryAmount > 0 && !Model.NeverReset) { Dynamic } @if (Model.EnforceTargetAmount) { Hardcap Goal } else { Softcap Goal } }
@if (Model.TargetAmount.HasValue) {
}
@(Model.Info.CurrentAmount + Model.Info.CurrentPendingAmount) @Model.TargetCurrency
Raised
@(Model.Info.PendingProgressPercentage.GetValueOrDefault(0) + Model.Info.ProgressPercentage.GetValueOrDefault(0))%
Of Goal
@Model.Info.TotalContributors
Contributors
@if (Model.Started && !Model.Ended) {
@TimeZoneInfo.ConvertTimeFromUtc(Model.EndDate.Value, TimeZoneInfo.Local)
Ends
} else if (!Model.Started) {
@TimeZoneInfo.ConvertTimeFromUtc(Model.StartDate.Value, TimeZoneInfo.Local)
Starts
}else if (Model.Ended) {
Campaign
not active
}

@Model.Tagline


@Html.Raw(Model.Description)