mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-01 05:04:28 +01:00
23 lines
849 B
Plaintext
23 lines
849 B
Plaintext
@model WalletSetupViewModel
|
|
@{
|
|
var isHotWallet = Model.Method == WalletSetupMethod.HotWallet;
|
|
var title = isHotWallet ? StringLocalizer["Create {0} Hot Wallet", Model.CryptoCode] : StringLocalizer["Create {0} Watch-Only Wallet", Model.CryptoCode];
|
|
Layout = "_LayoutWalletSetup";
|
|
ViewData.SetActivePage(StoreNavPages.OnchainSettings, title, $"{Context.GetStoreData().Id}-{Model.CryptoCode}");
|
|
Model.SetViewData(ViewData);
|
|
}
|
|
|
|
@section Navbar {
|
|
<a asp-controller="UIStores" asp-action="GenerateWallet" asp-route-storeId="@Model.StoreId" asp-route-cryptoCode="@Model.CryptoCode" asp-route-method="">
|
|
<vc:icon symbol="back" />
|
|
</a>
|
|
}
|
|
|
|
<h1 class="text-center">@ViewData["Title"]</h1>
|
|
<br>
|
|
<partial name="_GenerateWalletForm" model="Model.SetupRequest" />
|
|
|
|
@section PageFootContent {
|
|
<partial name="_ValidationScriptsPartial" />
|
|
}
|