Show Shynet version when envvar is true
This commit is contained in:
parent
8b1034ebb0
commit
9146c889ac
@ -84,8 +84,8 @@ def percent_change_display(start, end):
|
|||||||
|
|
||||||
@register.inclusion_tag("dashboard/includes/sidebar_footer.html")
|
@register.inclusion_tag("dashboard/includes/sidebar_footer.html")
|
||||||
def sidebar_footer():
|
def sidebar_footer():
|
||||||
return {"version": "" if settings.SHOW_SHYNET_VERSION
|
return {"version": settings.VERSION if settings.SHOW_SHYNET_VERSION
|
||||||
else settings.VERSION}
|
else ""}
|
||||||
|
|
||||||
|
|
||||||
@register.inclusion_tag("dashboard/includes/stat_comparison.html")
|
@register.inclusion_tag("dashboard/includes/stat_comparison.html")
|
||||||
|
Loading…
Reference in New Issue
Block a user