mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-18 21:32:27 +01:00
21 lines
735 B
C#
21 lines
735 B
C#
using BTCPayServer.Abstractions.Contracts;
|
|
using BTCPayServer.Abstractions.Models;
|
|
using BTCPayServer.Abstractions.Services;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace BTCPayServer.Plugins.PayButton
|
|
{
|
|
public class PayButtonPlugin : BaseBTCPayServerPlugin
|
|
{
|
|
public override string Identifier => "BTCPayServer.Plugins.PayButton";
|
|
public override string Name => "Pay Button";
|
|
public override string Description => "Easily-embeddable HTML button for accepting tips and donations .";
|
|
|
|
public override void Execute(IServiceCollection services)
|
|
{
|
|
services.AddUIExtension("header-nav", "PayButton/NavExtension");
|
|
base.Execute(services);
|
|
}
|
|
}
|
|
}
|