Disable BTCPay in the interface, if BTCPAY_PRIVATE_KEY is un-set #3

Merged
3wordchant merged 4 commits from optional-btcpay into master 2021-07-21 18:20:41 +00:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit e3a4776a5d - Show all commits

View File

@ -46,7 +46,9 @@
<a href="/payment/stripe">Add funds with Credit/Debit (stripe)</a>
<ul><li>notice: stripe will load nonfree javascript </li></ul>
</li>
{% if config['BTCPAY_PRIVATE_KEY'] != "" %}
<li><a href="/payment/btcpay">Add funds with Bitcoin/Litecoin/Monero (btcpay)</a></li>
{% endif %}
<li>Cash: email <a href="mailto:treasurer@cyberia.club">treasurer@cyberia.club</a></li>
</ul>