mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-09 09:04:20 +01:00
add contribution ranking
This commit is contained in:
@@ -74,6 +74,10 @@ namespace BTCPayServer.Models.AppViewModels
|
||||
public bool UseAllStoreInvoices { get; set; }
|
||||
|
||||
public string AppId { get; set; }
|
||||
[Display(Name = "Sort contribution perks by popularity")]
|
||||
public bool SortPerksByPopularity { get; set; }
|
||||
[Display(Name = "Display contribution ranking")]
|
||||
public bool DisplayPerksRanking { get; set; }
|
||||
}
|
||||
|
||||
public enum CrowdfundResetEvery
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace BTCPayServer.Models.AppViewModels
|
||||
public bool Started => !StartDate.HasValue || DateTime.Now.ToUniversalTime() > StartDate;
|
||||
|
||||
public bool Ended => !EndDate.HasValue || DateTime.Now.ToUniversalTime() > EndDate;
|
||||
|
||||
public bool DisplayPerksRanking { get; set; }
|
||||
}
|
||||
|
||||
public class ContributeToCrowdfund
|
||||
|
||||
Reference in New Issue
Block a user