Compare commits

..

2 Commits

Author SHA1 Message Date
R. Miles McCain
ca9ee2f1f5 Bump version 2020-10-17 18:54:22 +00:00
R. Miles McCain
9146c889ac Show Shynet version when envvar is true 2020-10-17 18:53:46 +00:00
2 changed files with 3 additions and 3 deletions

View File

@@ -84,8 +84,8 @@ def percent_change_display(start, end):
@register.inclusion_tag("dashboard/includes/sidebar_footer.html")
def sidebar_footer():
return {"version": "" if settings.SHOW_SHYNET_VERSION
else settings.VERSION}
return {"version": settings.VERSION if settings.SHOW_SHYNET_VERSION
else ""}
@register.inclusion_tag("dashboard/includes/stat_comparison.html")

View File

@@ -18,7 +18,7 @@ import urllib.parse as urlparse
from django.contrib.messages import constants as messages
# Increment on new releases
VERSION = "v0.6.7"
VERSION = "v0.6.8"
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))