mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-26 15:41:29 +01:00
* Move TagHelpers to Abstractions Makes them available for use in plugins. Also cleans up the tag helper references in the view code: As we have it in the root view imports, the individual directives in the views are superfluous. * Move CurrenciesSuggestionsTagHelper back To get rid of the Rating dependency in Abstractions.
15 lines
497 B
Text
15 lines
497 B
Text
@using BTCPayServer.Client
|
|
@using BTCPayServer.Views.Stores
|
|
|
|
@{ var store = Context.GetStoreData(); }
|
|
|
|
@if (store != null)
|
|
{
|
|
<li class="nav-item" permission="@Policies.CanModifyStoreSettings">
|
|
<a asp-area="" asp-controller="UIPayButton" asp-action="PayButton" asp-route-storeId="@store.Id" class="nav-link @ViewData.IsActivePage(StoreNavPages.PayButton)" id="StoreNav-PayButton">
|
|
<vc:icon symbol="pay-button"/>
|
|
<span>Pay Button</span>
|
|
</a>
|
|
</li>
|
|
}
|
|
|