aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/web/default/debug_header.html5
-rw-r--r--templates/web/default/header.html6
-rw-r--r--templates/web/emptyhomes/header.html2
3 files changed, 8 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' %]
diff --git a/templates/web/emptyhomes/header.html b/templates/web/emptyhomes/header.html
index 70e8783f7..a1c855ce1 100644
--- a/templates/web/emptyhomes/header.html
+++ b/templates/web/emptyhomes/header.html
@@ -17,6 +17,8 @@
</head>
<body>
+[% INCLUDE 'debug_header.html' %]
+
<div id="header">
<a href="http://www.emptyhomes.com/"><img border="0" src="/i/eha-logo.jpeg" alt="Empty Homes Agency" width="91" height="71" align="middle"></a>
<a href="http://www.sheltercymru.org.uk/"><img border="0" src="/i/Sheltercymru47.gif" alt="Shelter Cymru" width="114" height="47" align="middle"></a>