aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/default')
-rw-r--r--templates/web/default/debug_header.html5
-rw-r--r--templates/web/default/header.html6
2 files changed, 6 insertions, 5 deletions
diff --git a/templates/web/default/debug_header.html b/templates/web/default/debug_header.html
new file mode 100644
index 000000000..247e55128
--- /dev/null
+++ b/templates/web/default/debug_header.html
@@ -0,0 +1,5 @@
+[% IF c.config.STAGING_SITE %]
+ <p class="error">
+ [% loc("This is a developer site; things might break at any time, and the database will be periodically deleted.") %]
+ </p>
+[% END %]
diff --git a/templates/web/default/header.html b/templates/web/default/header.html
index d26ebaa2b..ce7caa8fb 100644
--- a/templates/web/default/header.html
+++ b/templates/web/default/header.html
@@ -20,8 +20,4 @@
<div id="wrapper"><div id="content">
- [% IF c.config.STAGING_SITE %]
- <p class="error">
- [% loc("This is a developer site; things might break at any time, and the database will be periodically deleted.") %]
- </p>
- [% END %] \ No newline at end of file
+ [% INCLUDE 'debug_header.html' %]