btcpayserver/BTCPayServer/Views/Shared/Shopify/NavExtension.cshtml
2024-07-25 22:46:02 +09:00

16 lines
587 B
Text

@using BTCPayServer.Client
@using BTCPayServer.Views.Stores
@model BTCPayServer.Components.MainNav.MainNavViewModel
@{
var store = Context.GetStoreData();
}
@if (store != null)
{
<li class="nav-item" permission="@Policies.CanModifyStoreSettings">
<a asp-area="" asp-controller="UIShopify" asp-action="EditShopify" asp-route-storeId="@store.Id" class="nav-link @ViewData.ActivePageClass("shopify", nameof(StoreNavPages))" id="StoreNav-Shopify">
<vc:icon symbol="logo-shopify" />
<span text-translate="true">Shopify</span>
</a>
</li>
}