mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-27 12:26:19 +02:00
committed by
GitHub
parent
e39241a9e9
commit
587b763f03
@@ -40,6 +40,11 @@
|
|||||||
<span><strong>LN</strong>bits</span> {% endif %} {%endif%} {%
|
<span><strong>LN</strong>bits</span> {% endif %} {%endif%} {%
|
||||||
endblock %}
|
endblock %}
|
||||||
</q-btn>
|
</q-btn>
|
||||||
|
{% block toolbar_subtitle %}{%if user and user.super_user%}
|
||||||
|
<q-badge align="middle">Super User</q-badge>
|
||||||
|
{% elif user and user.admin %}
|
||||||
|
<q-badge align="middle">Admin User</q-badge>
|
||||||
|
{%endif%}{% endblock %}
|
||||||
</q-toolbar-title>
|
</q-toolbar-title>
|
||||||
{% block beta %} {% if VOIDWALLET %}
|
{% block beta %} {% if VOIDWALLET %}
|
||||||
<q-badge color="red" text-color="black" class="q-mr-md">
|
<q-badge color="red" text-color="black" class="q-mr-md">
|
||||||
@@ -325,7 +330,7 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
const themes = {{ LNBITS_THEME_OPTIONS | tojson }}
|
const themes = {{ LNBITS_THEME_OPTIONS | tojson }}
|
||||||
const LNBITS_DENOMINATION = {{ LNBITS_DENOMINATION | tojson}}
|
const LNBITS_DENOMINATION = {{ LNBITS_DENOMINATION | tojson}}
|
||||||
if(themes && themes.length) {
|
if (themes && themes.length) {
|
||||||
window.allowedThemes = themes.map(str => str.trim())
|
window.allowedThemes = themes.map(str => str.trim())
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Reference in New Issue
Block a user