mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-31 20:54:31 +01:00
Issue was caused by duplicate translation through a combination of `StringLocalizer` and `text-translate="true"` usage. Fixes #6622.
44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
@model BTCPayServer.Storage.ViewModels.ChooseStorageViewModel
|
|
@{
|
|
ViewData.SetActivePage(ServerNavPages.Files, StringLocalizer["Storage Provider"]);
|
|
}
|
|
|
|
<form method="post">
|
|
<div class="sticky-header">
|
|
<nav aria-label="breadcrumb">
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item">
|
|
<a asp-action="Files" text-translate="true">Files</a>
|
|
</li>
|
|
<li class="breadcrumb-item active" aria-current="page">@ViewData["Title"]</li>
|
|
</ol>
|
|
<h2>@ViewData["Title"]</h2>
|
|
</nav>
|
|
<button id="page-primary" type="submit" class="btn btn-primary" name="command" value="Save" text-translate="true">Next</button>
|
|
</div>
|
|
<partial name="_StatusMessage" />
|
|
|
|
<div class="row">
|
|
<div class="col-xl-10 col-xxl-constrain">
|
|
@if (Model.ShowChangeWarning)
|
|
{
|
|
<div class="alert alert-danger mb-4" text-translate="true">
|
|
If you change your configured storage provider, your current files will become inaccessible.
|
|
</div>
|
|
}
|
|
@if (!ViewContext.ModelState.IsValid)
|
|
{
|
|
<div asp-validation-summary="All"></div>
|
|
}
|
|
<div class="form-group">
|
|
<label asp-for="Provider" class="form-label"></label>
|
|
<select asp-for="Provider" asp-items="@Model.ProvidersList" class="form-select w-auto"></select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
@section PageFootContent {
|
|
<partial name="_ValidationScriptsPartial" />
|
|
}
|