parent
e39241a9e9
commit
587b763f03
1 changed files with 6 additions and 1 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue