btcpayserver/BTCPayServer/Views/UIStores/TestWebhook.cshtml
d11n 77fba4aee3
Add more translations (#6302)
* Newlines

* Dashboard

* Add more translations

* Moar

* Remove   from translated texts

* Dictionary controller translations

* Batch 1 of controller updates

* Batch 2 of controller updates

* Component translations

* Batch 3 of controller updates

* Fixes
2024-10-17 22:51:40 +09:00

27 lines
1.0 KiB
Plaintext

@using BTCPayServer.HostedServices.Webhooks
@model EditWebhookViewModel
@inject WebhookSender WebhookSender
@{
ViewData.SetActivePage(StoreNavPages.Webhooks, StringLocalizer["Send a test event to a webhook endpoint"], Context.GetStoreData().Id);
}
<form method="post">
<div class="sticky-header">
<h2 text-translate="true">@ViewData["Title"]</h2>
<button id="page-primary" type="submit" class="btn btn-primary mt-3" text-translate="true">Send test webhook</button>
</div>
<partial name="_StatusMessage" />
<div class="row">
<div class="col-lg-8">
<div class="form-group">
<label for="Type" class="form-label" text-translate="true">Event type</label>
<select
asp-items="@WebhookSender.GetSupportedWebhookTypes().Select(s => new SelectListItem(s.Value,s.Key))"
name="Type"
id="Type"
class="form-select w-auto"
></select>
</div>
</div>
</div>
</form>