mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 01:43:50 +01:00
UI: Do not escape apostrophe in custom server name (#6391)
Fixes #6352.
This commit is contained in:
parent
809e475e29
commit
088c0c7f85
@ -1,5 +1,4 @@
|
||||
@using BTCPayServer.Services
|
||||
@using Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@using BTCPayServer.Components.MainLogo
|
||||
@using System.Text
|
||||
@inject SettingsRepository SettingsRepository
|
||||
@ -49,7 +48,7 @@
|
||||
<vc:main-logo />
|
||||
</a>
|
||||
|
||||
<h1 class="h2 mb-3" text-translate="true">@ViewLocalizer["Welcome to {0}", string.IsNullOrWhiteSpace(settings.ServerName) ? "BTCPay Server" : settings.ServerName]</h1>
|
||||
<h1 class="h2 mb-3">@ViewLocalizer["Welcome to {0}", string.IsNullOrWhiteSpace(settings.ServerName) ? "BTCPay Server" : settings.ServerName]</h1>
|
||||
@if (ViewBag.ShowLeadText)
|
||||
{
|
||||
<p class="lead">
|
||||
|
@ -1,5 +1,4 @@
|
||||
@using BTCPayServer.Services
|
||||
@using Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@model HomeViewModel;
|
||||
@inject SettingsRepository SettingsRepository
|
||||
@{
|
||||
@ -9,7 +8,7 @@
|
||||
|
||||
<partial name="_StatusMessage" />
|
||||
|
||||
<h2 text-translate="true">@ViewLocalizer["Welcome to {0}", string.IsNullOrWhiteSpace(settings.ServerName) ? "BTCPay Server" : settings.ServerName]</h2>
|
||||
<h2>@ViewLocalizer["Welcome to {0}", string.IsNullOrWhiteSpace(settings.ServerName) ? "BTCPay Server" : settings.ServerName]</h2>
|
||||
|
||||
@if (!Model.HasStore)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user