mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-02 13:44:22 +01:00
* Refactor plugins * Add missing names to view models * Cleanups * Replace SalesAppBaseType by two interfaces --------- Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
20 lines
795 B
Plaintext
20 lines
795 B
Plaintext
@using BTCPayServer.Client
|
|
@using Microsoft.AspNetCore.Mvc.TagHelpers
|
|
@using BTCPayServer.Views.Apps
|
|
@using BTCPayServer.Abstractions.Extensions
|
|
@using BTCPayServer.Abstractions.TagHelpers
|
|
@using BTCPayServer.Plugins.Crowdfund
|
|
@model BTCPayServer.Components.MainNav.StoreApp
|
|
|
|
@{ var store = Context.GetStoreData(); }
|
|
|
|
@if (store != null && Model.AppType == CrowdfundAppType.AppType)
|
|
{
|
|
<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.ToLower()"/>
|
|
<span>@Model.AppName</span>
|
|
</a>
|
|
</li>
|
|
}
|