@using BTCPayServer.Models.AppViewModels @model BTCPayServer.Models.AppViewModels.ViewCrowdfundViewModel
@if (!string.IsNullOrEmpty(Model.MainImageUrl)) { Card image cap } @if (Model.Info.ShowProgress) {
@if (Model.Info.ProgressPercentage.Value > 0) { @(Model.Info.ProgressPercentage + "%") }
}

@Model.Title @if (!string.IsNullOrEmpty(Model.Tagline)) {

@Model.Tagline

} @if (Model.Info.DaysLeftToStart.HasValue && Model.Info.DaysLeftToStart > 0) { @($"{Model.Info.DaysLeftToStart} day{(Model.Info.DaysLeftToStart.Value > 1 ? "s" : "")} left to start") }
  • @(Model.EndDate.HasValue? $"Ends {Model.EndDate.Value:dddd, dd MMMM yyyy HH:mm}" : "No specific end date")
  • @(Model.TargetAmount.HasValue? $"{Model.TargetAmount:G29} {Model.TargetCurrency.ToUpperInvariant()} Goal" : "No specific target goal")
  • @(Model.EnforceTargetAmount? $"Hardcap Goal" : "Softcap Goal")
@if (Model.Info.Active) {
@Model.Info.TotalContributors
Contributors
@Model.Info.CurrentAmount @Model.TargetCurrency.ToUpperInvariant()
Raised
@if (Model.Info.DaysLeft.HasValue && Model.Info.DaysLeft > 0) {
@Model.Info.DaysLeft
Day@(Model.Info.DaysLeft.Value > 1 ? "s" : "") left
}
}
@Html.Raw(Model.Description)
@if (Model.Info.Active) {

Contribute

}