mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-01 13:14:30 +01:00
Issue was caused by duplicate translation through a combination of `StringLocalizer` and `text-translate="true"` usage. Fixes #6622.
33 lines
1.3 KiB
Plaintext
33 lines
1.3 KiB
Plaintext
@model ServerEmailsViewModel
|
|
@{
|
|
ViewData.SetActivePage(ServerNavPages.Emails, StringLocalizer["Emails"]);
|
|
}
|
|
|
|
<form method="post" autocomplete="off">
|
|
<div class="sticky-header">
|
|
<h2>@ViewData["Title"]</h2>
|
|
<button id="page-primary" type="submit" class="btn btn-primary" name="command" value="Save">Save</button>
|
|
</div>
|
|
<partial name="_StatusMessage" />
|
|
<div class="form-group mb-4">
|
|
<div class="d-flex align-items-center">
|
|
<input asp-for="EnableStoresToUseServerEmailSettings" type="checkbox" class="btcpay-toggle me-3"/>
|
|
<div>
|
|
<label asp-for="EnableStoresToUseServerEmailSettings" class="form-check-label"></label>
|
|
<div class="text-muted">
|
|
<span text-translate="true">This can be overridden at the Store level.</span>
|
|
<a href="https://docs.btcpayserver.org/Notifications/#server-emails" target="_blank" rel="noreferrer noopener">
|
|
<vc:icon symbol="info" />
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<partial name="EmailsBody" model="Model" />
|
|
<partial name="EmailsTest" model="Model" />
|
|
</form>
|
|
|
|
@section PageFootContent {
|
|
<partial name="_ValidationScriptsPartial" />
|
|
}
|