We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7faba5f commit 71ba60bCopy full SHA for 71ba60b
myapp/templates/base.html
@@ -201,7 +201,7 @@
201
<!-- ======= Footer ======= -->
202
<footer id="footer" class="footer">
203
<div class="copyright">
204
- <h5>VoucherVault{% if container_version %} {{ container_version }}{% endif %}</h5>
+ <h5>VoucherVault {{ "VERSION"|env }}</h5>
205
© Copyright <strong><span>NiceAdmin</span></strong>. All Rights Reserved
206
</div>
207
<div class="credits">
myapp/templatetags/extras.py
@@ -8,6 +8,8 @@
8
def env(key):
9
if key == "OIDC_ENABLED":
10
return settings.OIDC_ENABLED
11
+ if key == "VERSION":
12
+ return settings.VERSION
13
14
@register.filter()
15
def comma_to_dot(value):
0 commit comments