Limit options on home page when in testnet mode

This commit is contained in:
Taylor Helsper 2021-03-15 12:47:50 -05:00
parent ef9ed6adec
commit 8915246990

View File

@ -41,7 +41,7 @@
{% if product_key_skipped %}
Premium Feature
{% else %}
{% if lnd_ready %}
{% if lnd_ready and not is_testnet_enabled %}
{% if btcpayserver_enabled %}
<a class="ui-button ui-widget ui-corner-all mynode_button" href="#" id="btcpayserver">BTCPay Server</a>
{% endif %}
@ -72,7 +72,7 @@
<div class="app_title">LND Hub</div>
<div class="app_status" id="lndhub_status">{{ lndhub_status }}</div>
<div class="app_contents">
{% if lnd_ready %}
{% if lnd_ready and not is_testnet_enabled %}
{% if lndhub_enabled %}
<a class="ui-button ui-widget ui-corner-all mynode_button" href="#" id="lndhub">LND Hub</a>
{% endif %}
@ -259,7 +259,7 @@
{% if product_key_skipped %}
Premium Feature
{% else %}
{% if lnd_ready %}
{% if lnd_ready and not is_testnet_enabled %}
{% if lnbits_enabled %}
<a class="ui-button ui-widget ui-corner-all mynode_button" href="#" id="lnbits">LNbits</a>
<a class="ui-button ui-widget ui-corner-all mynode_button" href="#" id="toggle-lnbits">Disable</a>