mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 14:40:36 +01:00
19 lines
782 B
Text
19 lines
782 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 @ViewData.IsActivePage(AppsNavPages.Update, Model.Id)" id="@($"StoreNav-App-{Model.Id}")">
|
|
<vc:icon symbol="@Model.AppType.ToString().ToLower()"/>
|
|
<span>@Model.AppName</span>
|
|
</a>
|
|
</li>
|
|
}
|