Improve Rates View (#3105)

* updates headers + changes copy

* type improvement

* updated copy

* updates copy

* updates copy

* Advanced rate rule scripting toggle

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
This commit is contained in:
dstrukt
2021-11-15 19:50:35 -08:00
committed by GitHub
parent e98c6e69d4
commit 748c92436f
2 changed files with 24 additions and 17 deletions

View File

@@ -45,7 +45,7 @@ namespace BTCPayServer.Models.StoreViewModels
public bool ShowScripting { get; set; }
[Display(Name = "Rate rules")]
[Display(Name = "Rate Rules")]
[MaxLength(2000)]
public string Script { get; set; }
public string DefaultScript { get; set; }
@@ -54,7 +54,7 @@ namespace BTCPayServer.Models.StoreViewModels
public string StoreId { get; set; }
public IEnumerable<AvailableRateProvider> AvailableExchanges { get; set; }
[Display(Name = "Add a spread on exchange rate of ... %")]
[Display(Name = "Add Exchange Rate Spread")]
[Range(0.0, 100.0)]
public double Spread
{
@@ -62,7 +62,7 @@ namespace BTCPayServer.Models.StoreViewModels
set;
}
[Display(Name = "Preferred price source (eg. bitfinex, bitstamp...)")]
[Display(Name = "Preferred Price Source")]
public string PreferredExchange { get; set; }
public string RateSource