mirror of
https://github.com/aljazceru/BTCPayServerPlugins.git
synced 2025-12-17 07:34:24 +01:00
15 lines
485 B
C#
15 lines
485 B
C#
using System.Threading.Tasks;
|
|
using BTCPayServer.Abstractions.Contracts;
|
|
|
|
namespace BTCPayServer.Plugins.SideShift;
|
|
|
|
public class PrismEditFilter : IPluginHookFilter
|
|
{
|
|
public string Hook => "prism-edit-buttons";
|
|
|
|
public Task<object> Execute(object args)
|
|
{
|
|
return Task.FromResult<object>(( args??"") + "<button type='button' class=\"btn btn-primary\" data-bs-toggle=\"modal\" data-bs-target=\"#sideshiftModal\">Generate SideShift destination</button>");
|
|
|
|
}
|
|
} |