add notification badge
This commit is contained in:
@@ -129,6 +129,20 @@
|
|||||||
>{% endblock %} {% block toolbar_subtitle %}
|
>{% endblock %} {% block toolbar_subtitle %}
|
||||||
<q-badge v-if="g.user && g.user.super_user">Super User</q-badge>
|
<q-badge v-if="g.user && g.user.super_user">Super User</q-badge>
|
||||||
<q-badge v-else-if="g.user && g.user.admin">Admin User</q-badge>
|
<q-badge v-else-if="g.user && g.user.admin">Admin User</q-badge>
|
||||||
|
<q-badge
|
||||||
|
v-if="g.connectionWarning"
|
||||||
|
color="red"
|
||||||
|
class="inline-block q-ml-sm"
|
||||||
|
>
|
||||||
|
<q-icon
|
||||||
|
name="wifi_tethering_off"
|
||||||
|
color="white"
|
||||||
|
size="12px"
|
||||||
|
></q-icon>
|
||||||
|
<q-tooltip
|
||||||
|
><span v-text="$t('ws_connection_warning')"></span
|
||||||
|
></q-tooltip>
|
||||||
|
</q-badge>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</q-toolbar-title>
|
</q-toolbar-title>
|
||||||
{% block beta %} {% if LNBITS_CUSTOM_BADGE is not none and
|
{% block beta %} {% if LNBITS_CUSTOM_BADGE is not none and
|
||||||
|
|||||||
Reference in New Issue
Block a user