mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
ba0e46b465
* Improve payouts UI * Display units * Update badges * Update badge background
22 lines
750 B
Plaintext
22 lines
750 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">@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>
|
|
}
|