btcpayserver/BTCPayServer/Views/UILightningLikePayout/LightningPayoutResult.cshtml
2024-07-25 22:46:02 +09:00

22 lines
772 B
Plaintext

@using BTCPayServer.Lightning
@model System.Collections.Generic.List<BTCPayServer.Data.Payouts.LightningLike.UILightningLikePayoutController.ResultVM>
@{
Layout = "_Layout";
ViewData["Title"] = "Lightning Payout Result";
}
<h2 class="mt-1 mb-4" text-translate="true">@ViewData["Title"]</h2>
@foreach (var item in Model)
{
<div class="alert alert-@(item.Result == PayResult.Ok ? "success" : "danger") mb-3" role="alert">
<h5 class="alert-heading">
@(item.Result == PayResult.Ok ? "Sent" : "Failed")
@if (!string.IsNullOrEmpty(item.Message))
{
<span>- @item.Message</span>
}
</h5>
<div class="text-break me-3" title="@item.Destination">@item.Destination</div>
</div>
}