From eda19ffebb10104d9c234952b2477583aa0c05a0 Mon Sep 17 00:00:00 2001 From: pluja Date: Wed, 4 Nov 2020 08:49:10 +0100 Subject: [PATCH] Add Yotter version to /status (#130) --- app/routes.py | 2 +- app/templates/status.html | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/routes.py b/app/routes.py index 13c639b..4c7a8dd 100644 --- a/app/routes.py +++ b/app/routes.py @@ -775,7 +775,7 @@ def status(): caniregister = True return render_template('status.html', title='STATUS', count=count, max=config['maxInstanceUsers'], file=filen, - cani=caniregister) + cani=caniregister, version=config['version']) @app.route('/error/') diff --git a/app/templates/status.html b/app/templates/status.html index cb0c180..36f75de 100644 --- a/app/templates/status.html +++ b/app/templates/status.html @@ -43,5 +43,11 @@ +
+
+
+

Yotter version: {{version}}

+
+
{%endblock%} \ No newline at end of file