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

General

Branding

@if (!string.IsNullOrEmpty(Model.LogoFileId)) { }
@if (canUpload) {
@if (!string.IsNullOrEmpty(Model.LogoFileId)) { @Model.StoreName }

Please upload an image with square dimension, as it will be displayed in 1:1 format and circular. Size should be around 100✕100px.

} else {

In order to upload a logo, 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
@if (Model.CanDelete) {

Additional Actions

}
@section PageFootContent { }