diff --git a/boofilsic/settings.py b/boofilsic/settings.py
index bc732c78..bb8d681a 100644
--- a/boofilsic/settings.py
+++ b/boofilsic/settings.py
@@ -10,7 +10,7 @@ try:
with open(os.path.join(BASE_DIR, "build_version")) as f:
NEODB_VERSION = __version__ + "-" + f.read().strip()
except:
- NEODB_VERSION = __version__ + "-dev"
+ NEODB_VERSION = __version__ + "-unknown"
# Parse configuration from:
@@ -155,6 +155,7 @@ elif _parsed_email_url.scheme:
SITE_DOMAIN = env("NEODB_SITE_DOMAIN")
SITE_INFO = {
+ "neodb_version": NEODB_VERSION,
"site_name": env("NEODB_SITE_NAME"),
"site_domain": SITE_DOMAIN,
"site_url": env("NEODB_SITE_URL", default="https://" + SITE_DOMAIN),
diff --git a/common/templates/_footer.html b/common/templates/_footer.html
index e6626a2d..383630ae 100644
--- a/common/templates/_footer.html
+++ b/common/templates/_footer.html
@@ -10,6 +10,7 @@
diff --git a/common/templates/_sidebar.html b/common/templates/_sidebar.html
index d9453121..7a160281 100644
--- a/common/templates/_sidebar.html
+++ b/common/templates/_sidebar.html
@@ -213,6 +213,17 @@
{% if sidebar_template %}
{% include sidebar_template %}
{% endif %}
+ {% if request.user.is_superuser and identity.local and request.user.identity != identity and request.GET.sudo %}
+
+ {% endif %}