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
39 lines
1.3 KiB
Text
39 lines
1.3 KiB
Text
@using BTCPayServer.Client
|
|
@model BTCPayServer.Models.StoreViewModels.ListStoresViewModel
|
|
@{
|
|
ViewData.SetActivePage(StoreNavPages.Index, Model.Archived ? StringLocalizer["Archived Stores"] : StringLocalizer["Stores"]);
|
|
}
|
|
|
|
<h2 class="mb-2 mb-lg-3" text-translate="true">@ViewData["Title"]</h2>
|
|
<partial name="_StatusMessage" />
|
|
@if (Model.Stores.Any())
|
|
{
|
|
<table class="table table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th text-translate="true">Store Name</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var store in Model.Stores)
|
|
{
|
|
<tr>
|
|
<td>
|
|
<a asp-action="Index" asp-controller="UIStores" asp-route-storeId="@store.StoreId" id="Store-@store.StoreId">@store.StoreName</a>
|
|
@if (store.Archived)
|
|
{
|
|
<span class="badge bg-info ms-2" text-translate="true">archived</span>
|
|
}
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
}
|
|
else
|
|
{
|
|
<p class="text-secondary mt-3">
|
|
<span text-translate="true">There are no stores yet.</span>
|
|
<span permission="@Policies.CanModifyStoreSettingsUnscoped"><a asp-action="CreateStore" text-translate="true">Create a store</a>.</span>
|
|
</p>
|
|
}
|