diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-11-08 22:14:17 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2013-01-24 12:33:59 +0000 |
commit | 0b1dcb06918175a3d5c2dda527a0eaaae67caa81 (patch) | |
tree | 73aee9afc7675c92ea4fb16ccd9ea3ecbafddeaa | |
parent | 45126ca6140bde44670b8623401a15434aae3cad (diff) |
Make sure front page notice is shown.
-rw-r--r-- | templates/web/emptyhomes/header.html | 5 | ||||
-rw-r--r-- | templates/web/emptyhomes/index.html | 43 |
2 files changed, 1 insertions, 47 deletions
diff --git a/templates/web/emptyhomes/header.html b/templates/web/emptyhomes/header.html index 96ad1040c..9b9193e32 100644 --- a/templates/web/emptyhomes/header.html +++ b/templates/web/emptyhomes/header.html @@ -27,11 +27,6 @@ <li><a href="/">[% loc("Report a problem") %]</a></li> <li><a href="/faq">[% loc("Help") %]</a></li> <li><a href="/about">[% loc('About us') %]</a></li> - [% IF lang_code == 'en-gb' %] - <li><a href="http://cy.[% c.cobrand.base_host %][% c.req.uri.path_query %]">Cymraeg</a></li> - [% ELSE %] - <li><a href="http://en.[% c.cobrand.base_host %][% c.req.uri.path_query %]">English</a></li> - [% END %] </ul> </div> diff --git a/templates/web/emptyhomes/index.html b/templates/web/emptyhomes/index.html index be6a14b95..4e6acf33e 100644 --- a/templates/web/emptyhomes/index.html +++ b/templates/web/emptyhomes/index.html @@ -1,6 +1,4 @@ -[% INCLUDE 'header.html', title => '' %] - -[% IF c.req.uri.host == 'reportemptyhomes.com' or c.req.uri.host == 'emptyhomes.matthew.fixmystreet.com' %] +[% INCLUDE 'header.html', title = '' %] <h2>Channel 4: The Great British Property Scandal</h2> @@ -21,48 +19,9 @@ The TV series launched a campaign for action and while this is running, our <a h <ul class="channel4"> <li><a href="http://www.channel4.com/programmes/the-great-british-property-scandal/articles/report-an-empty">Report an empty property</a></li> -<li><a href="http://cy.reportemptyhomes.com/">Rhoi gwybod am eiddo gwag</a></li> <li><a href="http://itunes.apple.com/gb/app/empty-homes-spotter/id482550587?mt=8"><img src="/i/appstore.png" hspace="5" alt="" align="right">Download the iPhone app</a> from the App Store.</li> </ul> -[% ELSE %] - -[% IF error %] - <p class="error">[% error %]</p> -[% END %] - -<p id="expl"> - <strong>[% loc('Report empty properties') %]</strong> -</p> - -[% - question = loc("Enter a nearby GB postcode, or street name and area"); -%] - -<form action="[% c.uri_for('/around') %]" method="get" name="postcodeForm" id="postcodeForm"> - <label for="pc">[% question %]:</label> - <span><input type="text" name="pc" value="" id="pc" size="10" maxlength="200"> - <input type="submit" value="[% loc('Go') %]" id="submit"> - </span> -</form> - -<div id="front_intro"> - - <h2>[% loc('How to report a problem') %]</h2> - - <ol> - <li>[% question %]</li> - <li>[% loc('Locate the problem on a map of the area') %]</li> - <li>[% loc('Enter details of the problem') %]</li> - <li>[% loc('We send it to the council on your behalf') %]</li> - </ol> - - [% INCLUDE "front/stats.html" %] - -</div> - -[% END %] - [% INCLUDE 'footer.html' %] |