@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, "General", Context.GetStoreData().Id); var canUpload = await FileService.IsAvailable(); }
@if (!ViewContext.ModelState.IsValid) {
}

Branding

@if (!string.IsNullOrEmpty(Model.LogoUrl)) { }
@if (canUpload) {
@if (!string.IsNullOrEmpty(Model.LogoUrl)) { @Model.StoreName Logo }
} else {
In order to upload a logo, a file storage must be configured.
}
@if (!string.IsNullOrEmpty(Model.CssUrl)) { }
@if (canUpload) {
@if (!string.IsNullOrEmpty(Model.CssUrl)) { Custom CSS }
Use this CSS to customize the public/customer-facing pages of this store. (Invoice, Payment Request, Pull Payment, etc.)
} else {
In order to upload a CSS file, a file storage must be configured.
}

Payment

@* For whatever reason wrapping the select with this div fixes this Safari bug: https://github.com/btcpayserver/btcpayserver/issues/3699 *@
minutes
percent
days

Additional Actions

Delete this store
@section PageFootContent { }