diff --git a/lnbits/helpers.py b/lnbits/helpers.py index 77b72e25..cad0b4af 100644 --- a/lnbits/helpers.py +++ b/lnbits/helpers.py @@ -100,6 +100,7 @@ def template_renderer(additional_folders: List = None) -> Jinja2Templates: t.env.globals["AD_SPACE"] = settings.lnbits_ad_space.split(",") t.env.globals["AD_SPACE_TITLE"] = settings.lnbits_ad_space_title + t.env.globals["VOIDWALLET"] = settings.lnbits_backend_wallet_class == "VoidWallet" t.env.globals["HIDE_API"] = settings.lnbits_hide_api t.env.globals["SITE_TITLE"] = settings.lnbits_site_title t.env.globals["LNBITS_DENOMINATION"] = settings.lnbits_denomination diff --git a/lnbits/templates/base.html b/lnbits/templates/base.html index d7eb54e6..fcfc6e67 100644 --- a/lnbits/templates/base.html +++ b/lnbits/templates/base.html @@ -45,9 +45,11 @@ {% block beta %} + {% if VOIDWALLET %} VoidWallet is active! Payments disabled + {%endif%}