1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Added VERSION to settings and page footer

This commit is contained in:
Jeremy Stretch
2016-06-29 14:05:01 -04:00
parent b8b173674f
commit 48d607fb96
2 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,8 @@ except ImportError:
"the documentation.")
VERSION = '1.0.6'
# Import local configuration
for setting in ['ALLOWED_HOSTS', 'DATABASE', 'SECRET_KEY']:
try:

View File

@ -237,7 +237,7 @@
<div class="container">
<div class="row">
<div class="col-md-4">
<p class="text-muted">{{ settings.HOSTNAME }}</p>
<p class="text-muted">{{ settings.HOSTNAME }} (v{{ settings.VERSION }})</p>
</div>
<div class="col-md-4 text-center">
<p class="text-muted">{% now 'Y-m-d H:i:s T' %}</p>