mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-31 04:34:26 +01:00
When a POS has a form, which results in an error state, the store branding property was not set. This adds the missing property and also does not render the store branding partial, in case the model property isn't present. Fixes #5655.
36 lines
1.4 KiB
Plaintext
36 lines
1.4 KiB
Plaintext
@inject BTCPayServer.Services.PoliciesSettings PoliciesSettings
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
@if (PoliciesSettings.DiscourageSearchEngines)
|
|
{
|
|
<meta name="robots" content="noindex">
|
|
}
|
|
<title>@ViewData["Title"]</title>
|
|
@* CSS *@
|
|
<link href="~/main/bootstrap/bootstrap.css" asp-append-version="true" rel="stylesheet" />
|
|
<link href="~/vendor/font-awesome/css/font-awesome.css" asp-append-version="true" rel="stylesheet" />
|
|
<link href="~/vendor/flatpickr/flatpickr.css" asp-append-version="true" rel="stylesheet" />
|
|
<link href="~/main/fonts/OpenSans.css" asp-append-version="true" rel="stylesheet" />
|
|
<link href="~/main/layout.css" asp-append-version="true" rel="stylesheet" />
|
|
<link href="~/main/site.css" asp-append-version="true" rel="stylesheet" />
|
|
|
|
<partial name="LayoutHeadTheme" />
|
|
@if (ViewData.TryGetValue("StoreBranding", out var storeBranding) && storeBranding != null)
|
|
{
|
|
<partial name="LayoutHeadStoreBranding" model="storeBranding" />
|
|
}
|
|
else
|
|
{
|
|
<meta name="theme-color" content="#51B13E">
|
|
<link rel="icon" href="~/favicon.ico">
|
|
<link rel="apple-touch-icon" href="~/img/icons/icon-512x512.png">
|
|
<link rel="apple-touch-startup-image" href="~/img/splash.png">
|
|
}
|
|
@* Non-JS *@
|
|
<noscript>
|
|
<style>
|
|
.hide-when-js { display: block !important; }
|
|
.only-for-js { display: none !important; }
|
|
</style>
|
|
</noscript>
|