mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-24 22:58:28 +01:00
20 lines
800 B
Text
20 lines
800 B
Text
|
@using BTCPayServer.Client
|
||
|
@using Microsoft.AspNetCore.Mvc.TagHelpers
|
||
|
@using BTCPayServer.TagHelpers
|
||
|
@using BTCPayServer.Views.Apps
|
||
|
@using BTCPayServer.Abstractions.Extensions
|
||
|
@using BTCPayServer.Services.Apps
|
||
|
@model BTCPayServer.Components.MainNav.StoreApp
|
||
|
|
||
|
@{ var store = Context.GetStoreData(); }
|
||
|
|
||
|
@if (store != null && Model.AppType == AppType.Crowdfund)
|
||
|
{
|
||
|
<li class="nav-item" permission="@Policies.CanModifyStoreSettings">
|
||
|
<a asp-area="" asp-controller="UICrowdfund" asp-action="UpdateCrowdfund" asp-route-appId="@Model.Id" class="nav-link js-scroll-trigger @ViewData.IsActivePage(AppsNavPages.Update, Model.Id)" id="@($"StoreNav-App-{Model.Id}")">
|
||
|
<vc:icon symbol="@Model.AppType.ToString().ToLower()"/>
|
||
|
<span>@Model.AppName</span>
|
||
|
</a>
|
||
|
</li>
|
||
|
}
|