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>
|
||||
|
@ -20,11 +20,7 @@
|
||||
type="text"
|
||||
/>
|
||||
</span>
|
||||
<input type="submit" value="Pay with BtcPay"></button>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div>
|
||||
<p>Our BTCPay Server instance is finally back online 🥳</p>
|
||||
<input type="submit" value="Pay with BtcPay"></input>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user