btcpayserver/BTCPayServer/Views/Shared/Shopify/NavExtension.cshtml

18 lines
606 B
Text
Raw Normal View History

2023-05-05 09:51:41 +02:00
@using BTCPayServer.Client
@using BTCPayServer.Abstractions.Extensions
@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.IsActivePage("shopify", nameof(StoreNavPages))" id="StoreNav-Shopify">
2023-10-13 02:06:22 +02:00
<vc:icon symbol="logo-shopify" />
2023-05-05 09:51:41 +02:00
<span>Shopify</span>
</a>
</li>
}