mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-19 18:11:30 +01:00
fix show commit version on UI
This commit is contained in:
parent
5dacf52bdb
commit
65a85e3612
@ -108,6 +108,7 @@ def register_assets(app: QuartTrio):
|
||||
def register_filters(app: QuartTrio):
|
||||
"""Jinja filters."""
|
||||
app.jinja_env.globals["SITE_TITLE"] = app.config["LNBITS_SITE_TITLE"]
|
||||
app.jinja_env.globals["LNBITS_VERSION"] = app.config["LNBITS_COMMIT"]
|
||||
app.jinja_env.globals["EXTENSIONS"] = get_valid_extensions()
|
||||
|
||||
|
||||
|
@ -86,6 +86,8 @@
|
||||
<q-toolbar-title class="text-caption">
|
||||
<strong>LN</strong>bits, free and open-source lightning
|
||||
wallet/accounts system
|
||||
<br />
|
||||
<small>Commit version: {{LNBITS_VERSION}}</small>
|
||||
</q-toolbar-title>
|
||||
<q-space></q-space>
|
||||
<q-btn
|
||||
|
Loading…
Reference in New Issue
Block a user