impl: copy invoice id to clipboard on invoice detail page (https://github.com/btcpayserver/app/issues/53)

This commit is contained in:
Israel Ulelu 2025-05-01 14:08:38 +01:00 committed by d11n
parent ef9a3cd062
commit 49d5ef1e47
2 changed files with 6 additions and 1 deletions

2
.gitignore vendored
View File

@ -39,6 +39,8 @@ bld/
# Visual Studio 2015/2017 cache/options directory
.vs/
.vscode/
.DS_Store
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/

View File

@ -45,7 +45,10 @@
</div>
}
<div class="invoice">
<span>Invoice @Invoice.Id</span>
<div class="d-inline-block">
<span>Invoice</span>
<TruncateCenter Text="@Invoice.Id" Padding="15" Copy="true" />
</div>
<div class="h3">
<span data-sensitive>@DisplayFormatter.Currency(Invoice.Amount, Invoice.Currency, DisplayFormatter.CurrencyFormat.Symbol)</span>
</div>