aboutsummaryrefslogtreecommitdiffstats
path: root/web/index.cgi
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-05-04 18:34:59 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-05-04 18:34:59 +0100
commit6a7d6d660e75fb22b10b66076ea13251749edb2b (patch)
treebefc4190f34385f3c11527d4aced1f308190cf23 /web/index.cgi
parent3a79cd79efe653275ef611c0cc5521e437d75b01 (diff)
Add front page notice for reportemptyhomes.
Diffstat (limited to 'web/index.cgi')
-rwxr-xr-xweb/index.cgi13
1 files changed, 11 insertions, 2 deletions
diff --git a/web/index.cgi b/web/index.cgi
index c2482e26b..ef4b3eee1 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -202,8 +202,17 @@ EOF
$out .= '</a></li>';
}
$out .= '</ul>' if @$probs;
- $out .= '</div>';
- }
+ $out .= '</div>';
+ }
+
+ if ($q->{site} eq 'emptyhomes') {
+ $out .= <<EOF;
+<div id="eha_advert">
+Now is the best time to turn empty properties into empty homes... Don't miss it!
+<a href="http://www.emptyhomes.com/EHConference2011.html">Home Again: Empty Homes National Conference 2011</a>
+</div>
+EOF
+ }
return ($out, %params);
}