What changed, and why it matters
This commit removes Bootstrap tooltip attributes from a few disabled buttons and archive links in the invoice view. It is a test-flakiness fix with no apparent security relevance.
No security action required. Treat as a routine UI/test-stability change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff removes data-bs-toggle="tooltip" from three elements in BTCPayServer/Views/UIInvoice/Invoice.cshtml, leaving only the title attribute. The commit message says this is to make a test less flaky. There are no code changes affecting authorization, validation, data handling, or business logic.
Changed components
BTCPayServer/Views/UIInvoice/Invoice.cshtmlInspect captured patch +3 / −3
diff --git a/BTCPayServer/Views/UIInvoice/Invoice.cshtml b/BTCPayServer/Views/UIInvoice/Invoice.cshtml
index d73a337..4298216 100644
--- a/BTCPayServer/Views/UIInvoice/Invoice.cshtml
+++ b/BTCPayServer/Views/UIInvoice/Invoice.cshtml
@@ -193,17 +193,17 @@
}
else
{
- <button class="btn btn-secondary text-nowrap" data-bs-toggle="tooltip" title="@StringLocalizer["You can only refund an invoice that has been settled. Please wait for the transaction to confirm on the blockchain before attempting to refund it."]" disabled>Issue refund</button>
+ <button class="btn btn-secondary text-nowrap" title="@StringLocalizer["You can only refund an invoice that has been settled. Please wait for the transaction to confirm on the blockchain before attempting to refund it."]" disabled>Issue refund</button>
}
<form asp-action="ToggleArchive" asp-route-invoiceId="@Model.Id" method="post">
<button type="submit" class="btn btn-secondary" id="btn-archive-toggle">
@if (Model.Archived)
{
- <span class="text-nowrap" data-bs-toggle="tooltip" title="@StringLocalizer["Unarchive this invoice"]">Unarchive</span>
+ <span class="text-nowrap" title="@StringLocalizer["Unarchive this invoice"]">Unarchive</span>
}
else
{
- <span class="text-nowrap" data-bs-toggle="tooltip" title="@StringLocalizer["Archive this invoice so that it does not appear in the invoice list by default"]">Archive</span>
+ <span class="text-nowrap" title="@StringLocalizer["Archive this invoice so that it does not appear in the invoice list by default"]">Archive</span>
}
</button>
</form>
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.