diff --git a/server.py b/server.py
index ba4a6b555cd3545ed6161d5c57509c9543057333..5e9bc695f8df761b59411a7eccae522e81402277 100644
--- a/server.py
+++ b/server.py
@@ -647,6 +647,13 @@ def dbstatus():
 		clusters[cluster].append(host)
 	return render_template('dbstatus.html', clusters=clusters, statuses=status, vars=variables), 200
 
+@app.template_global()
+def is_readonly():
+	try:
+		return show('SHOW GLOBAL STATUS LIKE "wsrep_ready"')['wsrep_ready'] != 'ON'
+	except:
+		return True
+
 import edit
 import feeds
 import importer
diff --git a/templates/base.html b/templates/base.html
index 31bdd63c5df108ddf0271eab367dd16c295d5128..87fb684621f0234eb49cecad810f304672e178f5 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -150,6 +150,9 @@
 					<li class="pull-right">
 						<a target="_blank" href="https://git.fsmpi.rwth-aachen.de/videoagwebsite/videoagwebsite/commit/{{ gitversion.longhash }}"><span title="{{ gitversion.branch }} {{ gitversion.hash }}: {{ gitversion.msg }}" data-toggle="tooltip">{{ gitversion.hash }}</span></a>
 						<span>{{ gethostname() }}</span>
+						{% if is_readonly() %}
+							<span>(read-only)</span>
+						{% endif %}
 					</li>
 					{% endif %}
 				</ul>