mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-30 20:24:26 +01:00
Pay Button Alert: Add missing alert-link classes (#3397)
* Pay Button Alert: Add missing alert-link classes * Update alert link styles
This commit is contained in:
@@ -139,7 +139,7 @@
|
||||
</button>
|
||||
<p><strong>Warning:</strong> This feature should not be activated on a BTCPay Server store processing commercial transactions.</p>
|
||||
<p>By activating this feature, a malicious user can trick you into thinking an order has been processed by creating a new invoice, reusing the same Order Id of another valid order but different amount or currency.</p>
|
||||
<p>If this store process commercial transactions, we advise you to <a asp-controller="UIUserStores" asp-action="CreateStore">create a separate store</a> before using the payment button.</p>
|
||||
<p>If this store process commercial transactions, we advise you to <a asp-controller="UIUserStores" asp-action="CreateStore" class="alert-link">create a separate store</a> before using the payment button.</p>
|
||||
<form asp-action="DisableAnyoneCanCreateInvoice" asp-route-storeId="@Context.GetRouteValue("storeId")" method="post">
|
||||
<button name="command" id="disable-pay-button" type="submit" class="btn btn-danger mt-0" value="Save">Disable payment button</button>
|
||||
</form>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</button>
|
||||
<p><strong>Warning:</strong> This feature should not be activated on a BTCPay Server store processing commercial transactions.</p>
|
||||
<p>By activating this feature, a malicious user can trick you into thinking an order has been processed by creating a new invoice, reusing the same Order Id of another valid order but different amount or currency.</p>
|
||||
<p class="mb-0">If this store process commercial transactions, we advise you to <a asp-controller="UIUserStores" asp-action="CreateStore">create a separate store</a> before using the payment button.</p>
|
||||
<p class="mb-0">If this store process commercial transactions, we advise you to <a asp-controller="UIUserStores" asp-action="CreateStore" class="alert-link">create a separate store</a> before using the payment button.</p>
|
||||
</div>
|
||||
<p>
|
||||
To start using Pay Button, you need to enable this feature explicitly.
|
||||
|
||||
@@ -4952,7 +4952,7 @@ fieldset:disabled .btn {
|
||||
}
|
||||
|
||||
.alert-link {
|
||||
font-weight: 700;
|
||||
font-weight: var(--btcpay-font-weight-normal);
|
||||
}
|
||||
|
||||
.alert-dismissible {
|
||||
@@ -10735,6 +10735,10 @@ ul:not([class]) li {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.alert-link {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.alert-dismissible .btn-close {
|
||||
color: inherit;
|
||||
padding: 1.25rem;
|
||||
|
||||
Reference in New Issue
Block a user