Pull Payment: Minor improvements (#6516)

- Changes the column title from "Refunded" to "Claimed"
- Adds "Copy Link" button to action column

Closes #6515.
This commit is contained in:
d11n
2024-12-23 01:25:27 +01:00
committed by GitHub
parent 637c06fc01
commit cfc2b9c236

View File

@@ -21,6 +21,8 @@
@section PageHeadContent {
<style>
.tooltip-inner { text-align: left; }
.actions-col .btn[data-clipboard] { color: var(--btcpay-body-link); }
.actions-col .btn[data-clipboard]:hover { color: var(--btcpay-body-link-accent); }
</style>
}
@@ -101,7 +103,7 @@
</th>
<th text-translate="true" scope="col">Name</th>
<th text-translate="true" scope="col">Automatically Approved</th>
<th text-translate="true" scope="col">Refunded</th>
<th text-translate="true" scope="col">Claimed</th>
<th scope="col" class="actions-col"></th>
</tr>
</thead>
@@ -134,6 +136,12 @@
</td>
<td class="actions-col">
<div class="d-inline-flex align-items-center gap-3">
<button type="button" data-clipboard="@Url.ActionAbsolute(Context.Request, "ViewPullPayment", "UIPullPayment", new { pullPaymentId = pp.Id })"
permission="@Policies.CanViewPullPayments"
class="only-for-js btn btn-link p-0"
text-translate="true">
Copy Link
</button>
<a asp-action="ViewPullPayment"
permission="@Policies.CanViewPullPayments"
asp-controller="UIPullPayment"