aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/debug_header.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-12-05 11:35:53 +0000
committerMatthew Somerville <matthew@mysociety.org>2019-12-05 15:56:26 +0000
commit1f43fc96b8c235c225eaa6be057663e11fbdf592 (patch)
tree4369d74fd1a9f66613d9e40a51c081ed7ca0ac52 /templates/web/base/debug_header.html
parentc69131fd0f3a438cf459e0445ad1c7ae38a9c412 (diff)
Add staging site banner.
Diffstat (limited to 'templates/web/base/debug_header.html')
-rw-r--r--templates/web/base/debug_header.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/web/base/debug_header.html b/templates/web/base/debug_header.html
index 92ccbc357..5bbb65cfc 100644
--- a/templates/web/base/debug_header.html
+++ b/templates/web/base/debug_header.html
@@ -1,5 +1,5 @@
-[% IF c.config.STAGING_SITE and c.config.SHOW_DEBUG %]
- <p class="dev-site-notice">
- [% loc("This is a developer site; things might break at any time, and the database will be periodically deleted.") %]
- </p>
+[% IF c.config.STAGING_SITE ~%]
+ <div class="dev-site-notice">
+ [% loc("Staging site") %]
+ </div>
[% END %]