diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-05-04 18:34:59 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-05-04 18:34:59 +0100 |
commit | 6a7d6d660e75fb22b10b66076ea13251749edb2b (patch) | |
tree | befc4190f34385f3c11527d4aced1f308190cf23 | |
parent | 3a79cd79efe653275ef611c0cc5521e437d75b01 (diff) |
Add front page notice for reportemptyhomes.
-rw-r--r-- | web/css/cobrands/emptyhomes/emptyhomes.css | 14 | ||||
-rwxr-xr-x | web/index.cgi | 13 |
2 files changed, 25 insertions, 2 deletions
diff --git a/web/css/cobrands/emptyhomes/emptyhomes.css b/web/css/cobrands/emptyhomes/emptyhomes.css index 15afee568..61db27054 100644 --- a/web/css/cobrands/emptyhomes/emptyhomes.css +++ b/web/css/cobrands/emptyhomes/emptyhomes.css @@ -193,3 +193,17 @@ blockquote { margin-top: 1px; } +#eha_advert { + clear: both; + width: 55%; + margin: 0 auto; + padding: 0.5em; + text-align: center; + background-color: #ffeecc; + border: solid 1px #ff9900; +} + +#front_intro { + margin-bottom: 1em; +} + 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); } |