mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 06:35:13 +01:00
* Receipt: Add payment proof Closes #4685. * shice * Add truncate-center component * Improve view * Hide button and link when printed * Describe component * Remove transaction ID from UI * Remove modification to interface --------- Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
17 lines
689 B
Text
17 lines
689 B
Text
@model BTCPayServer.Components.TruncateCenter.TruncateCenterViewModel
|
|
<span class="truncate-center @Model.Classes">
|
|
<span class="truncate-center-truncated" @(Model.Truncated != Model.Text ? $"data-bs-toggle=tooltip title={Model.Text}" : "")>@Model.Truncated</span>
|
|
<span class="truncate-center-text">@Model.Text</span>
|
|
@if (Model.Copy)
|
|
{
|
|
<button type="button" class="btn btn-link p-0" data-clipboard="@Model.Text">
|
|
<vc:icon symbol="copy" />
|
|
</button>
|
|
}
|
|
@if (!string.IsNullOrEmpty(Model.Link))
|
|
{
|
|
<a href="@Model.Link" rel="noreferrer noopener" target="_blank">
|
|
<vc:icon symbol="info" />
|
|
</a>
|
|
}
|
|
</span>
|