mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
a962e60de9
* Store selector * Footer * Notifications * Checkout Appearance * Users list * Forms * Emails * Pay Button * Edit Dictionary * Remove newlines, fix typos * Forms * Pull payments and payouts * Various pages * Use local docs link * Fix * Even more translations * Fixes #6325 * Account pages * Notifications * Placeholders * Various pages and components * Add more
23 lines
1.1 KiB
Plaintext
23 lines
1.1 KiB
Plaintext
<div id="walletAlert" class="alert alert-warning alert-dismissible my-4" style="display:none;" role="alert">
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="@StringLocalizer["Close"]">
|
|
<vc:icon symbol="close" />
|
|
</button>
|
|
<span id="alertMessage"></span>
|
|
</div>
|
|
<script>
|
|
var alertMsg = document.getElementById("alertMessage");
|
|
var walletAlert = document.getElementById("walletAlert");
|
|
var isSafari = window.safari !== undefined;
|
|
if (isSafari)
|
|
{
|
|
alertMsg.innerHTML = "Safari doesn't support BTCPay Server Vault. Please use a different browser. (<a class=\"alert-link\" href=\"https://bugs.webkit.org/show_bug.cgi?id=171934\" target=\"_blank\" rel=\"noreferrer noopener\">More information</a>)";
|
|
walletAlert.style.display = null;
|
|
}
|
|
var isBrave = navigator.brave !== undefined;
|
|
if (isBrave)
|
|
{
|
|
alertMsg.innerHTML = "Brave supports BTCPay Server Vault, but you need to disable Brave Shields. (<a class=\"alert-link\" href=\"https://www.updateland.com/how-to-turn-off-brave-shields/\" target=\"_blank\" rel=\"noreferrer noopener\">More information</a>)";
|
|
walletAlert.style.display = null;
|
|
}
|
|
</script>
|