add ability to disable public api

This commit is contained in:
aglkm
2024-06-01 18:00:06 +03:00
parent 8f5d015f6a
commit e81e539791
6 changed files with 59 additions and 44 deletions

View File

@@ -219,7 +219,7 @@
</a>
</div>
</div>
{% if cg_api == "on" %}
{% if cg_api == "enabled" %}
<div class="row">
<div class="col d-flex justify-content-center" style="color:grey">
Powered by CoinGecko

View File

@@ -6,7 +6,7 @@
{# We have different UI to display if CoinGecko API is disabled by user #}
{% if cg_api == "on" %}
{% if cg_api == "enabled" %}
{# CoinGecko API is enabled #}
<div class="d-none d-md-block"> <!-- Show on >= md screens -->