improve BTCPay server down detection and handling
This commit is contained in:
@ -47,7 +47,15 @@
|
||||
<ul><li>notice: stripe will load nonfree javascript </li></ul>
|
||||
</li>
|
||||
{% if btcpay_enabled %}
|
||||
<li><a href="/payment/btcpay">Add funds with Bitcoin/Litecoin/Monero (btcpay)</a></li>
|
||||
{% if btcpay_is_working %}
|
||||
<li><a href="/payment/btcpay">Add funds with Bitcoin/Litecoin/Monero (btcpay)</a></li>
|
||||
{% else %}
|
||||
<li>
|
||||
<span class="disabled">Add funds with Bitcoin/Litecoin/Monero (btcpay)</span>
|
||||
<span class="error"> ERROR: the BTCPay server cannot be reached</span>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
<li>Cash: email <a href="mailto:treasurer@cyberia.club">treasurer@cyberia.club</a></li>
|
||||
|
Reference in New Issue
Block a user