diff --git a/rootfs/standard/var/www/mynode/mynode.py b/rootfs/standard/var/www/mynode/mynode.py index 53cea034..99b7c6d6 100644 --- a/rootfs/standard/var/www/mynode/mynode.py +++ b/rootfs/standard/var/www/mynode/mynode.py @@ -338,17 +338,28 @@ def index(): btcrpcexplorer_status = "Waiting on bitcoin..." # Find mempool space status + mempoolspace_status = "Mempool Viewer" if is_mempoolspace_enabled(): - status_code = get_service_status_code("mempoolspace") - mempoolspace_status_color = get_service_status_color("mempoolspace") + if is_installing_docker_images(): + mempoolspace_status_color = "yellow" + mempoolspace_status = "Installing..." + else: + mempoolspace_status_color = get_service_status_color("mempoolspace") # Find lndconnect status if lnd_ready: lndconnect_status_color = "green" # Find btcpayserver status + btcpayserver_status = "Merchant Tool" if lnd_ready: - btcpayserver_status_color = get_service_status_color("btcpayserver") + if is_installing_docker_images(): + btcpayserver_status_color = "yellow" + btcpayserver_status = "Installing..." + else: + btcpayserver_status_color = get_service_status_color("btcpayserver") + else: + btcpayserver_status = "Waiting on LND..." # Find explorer status explorer_status_color = electrs_status_color @@ -408,9 +419,11 @@ def index(): "btcrpcexplorer_status": btcrpcexplorer_status, "btcrpcexplorer_enabled": is_btcrpcexplorer_enabled(), "mempoolspace_status_color": mempoolspace_status_color, + "mempoolspace_status": mempoolspace_status, "mempoolspace_enabled": is_mempoolspace_enabled(), "btcpayserver_enabled": is_btcpayserver_enabled(), "btcpayserver_status_color": btcpayserver_status_color, + "btcpayserver_status": btcpayserver_status, "lndconnect_status_color": lndconnect_status_color, "vpn_status_color": vpn_status_color, "vpn_status": vpn_status, diff --git a/rootfs/standard/var/www/mynode/templates/includes/apps.html b/rootfs/standard/var/www/mynode/templates/includes/apps.html index af56610f..c395cfbb 100644 --- a/rootfs/standard/var/www/mynode/templates/includes/apps.html +++ b/rootfs/standard/var/www/mynode/templates/includes/apps.html @@ -15,7 +15,7 @@
BTCPay Server
-
{% if not lnd_ready %}Waiting on LND...{% else %}Merchant Tool{% endif %}
+
{{ btcpayserver_status }}
{% if product_key_skipped %} Premium Feature @@ -108,7 +108,7 @@
Mempool.Space
-
Mempool Viewer
+
{{ mempoolspace_status }}
{% if product_key_skipped %} Premium Feature