mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-10 17:26:05 +01:00
* Store selector * Footer * Notifications * Checkout Appearance * Users list * Forms * Emails * Pay Button * Edit Dictionary * Remove newlines, fix typos * Forms * Pull payments and payouts * Various pages * Use local docs link * Fix * Even more translations * Fixes #6325 * Account pages * Notifications * Placeholders * Various pages and components * Add more
26 lines
1.1 KiB
Text
26 lines
1.1 KiB
Text
@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}");
|
|
ViewData.Add(nameof(Model.CanUseHotWallet), Model.CanUseHotWallet);
|
|
ViewData.Add(nameof(Model.CanUseRPCImport), Model.CanUseRPCImport);
|
|
ViewData.Add(nameof(Model.SupportSegwit), Model.SupportSegwit);
|
|
ViewData.Add(nameof(Model.SupportTaproot), Model.SupportTaproot);
|
|
ViewData.Add(nameof(Model.Method), Model.Method);
|
|
}
|
|
|
|
@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" />
|
|
}
|