@using BTCPayServer.Abstractions.Models @using BTCPayServer.TagHelpers @using Microsoft.AspNetCore.Mvc.TagHelpers @using BTCPayServer.Abstractions.Contracts @using BTCPayServer.Client @inject IFileService FileService; @model GeneralSettingsViewModel @{ ViewData.SetActivePage(StoreNavPages.General, StringLocalizer["General"], Context.GetStoreData().Id); var canUpload = await FileService.IsAvailable(); }
@if (!ViewContext.ModelState.IsValid) {
}

Branding

The custom color, logo and CSS are applied on the public/customer-facing pages (Invoice, Payment Request, Pull Payment, etc.). The brand color is used as the accent color for buttons, links, etc. It might get adapted to fit the light/dark color scheme.

@if (!string.IsNullOrEmpty(Model.LogoUrl)) { }
@if (canUpload) {
@if (!string.IsNullOrEmpty(Model.LogoUrl)) { @Model.StoreName Logo }
} else {
@ViewLocalizer["In order to upload, a {0} must be configured.", Html.ActionLink(StringLocalizer["file storage"], "Files", "UIServer")]
}
@if (!string.IsNullOrEmpty(Model.CssUrl)) { }
@if (canUpload) {
@if (!string.IsNullOrEmpty(Model.CssUrl)) { Custom CSS }
} else {
@ViewLocalizer["In order to upload, a {0} must be configured.", Html.ActionLink(StringLocalizer["file storage"], "Files", "UIServer")]
}

Payment

@* For whatever reason wrapping the select with this div fixes this Safari bug: https://github.com/btcpayserver/btcpayserver/issues/3699 *@
minutes
percent
days
minutes
Fee will be shown for BTC and LTC onchain payments only.
blocks

Additional Actions

@section PageFootContent { }