mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 06:35:13 +01:00
* Move files * Fix potentially missing default payment method Before, it got removed if any other value was changed besides the default payment method. * Fix missing store data * Update BTCPayServer/Plugins/PayButton/PayButtonPlugin.cs Co-authored-by: Pavlenex <pavle@pavle.org> * Update pay button warning Closes #3535. Co-authored-by: Pavlenex <pavle@pavle.org>
17 lines
571 B
Text
17 lines
571 B
Text
@using BTCPayServer.Client
|
|
@using BTCPayServer.Views.Stores
|
|
@using Microsoft.AspNetCore.Mvc.TagHelpers
|
|
@using BTCPayServer.TagHelpers
|
|
|
|
@{ 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>
|
|
}
|
|
|