aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-01-29 14:30:01 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-01-29 15:16:28 +0000
commit077445ea4f89c101ca5686d3d4fac71740700cb8 (patch)
tree3be1eeb5af244e98ed59908e8da24f93f25abeeb
parent0fa4b6fa0dbc58ccbef1616ce79ce00b4669685c (diff)
Revert EmptyHomes front page back to default one, and navigation back to previous.
-rw-r--r--templates/web/default/index.html4
-rw-r--r--templates/web/emptyhomes/header.html6
-rw-r--r--templates/web/emptyhomes/index.html27
3 files changed, 10 insertions, 27 deletions
diff --git a/templates/web/default/index.html b/templates/web/default/index.html
index 375316000..78e4fbba6 100644
--- a/templates/web/default/index.html
+++ b/templates/web/default/index.html
@@ -5,6 +5,9 @@
[% END %]
<p id="expl">
+ [% IF c.cobrand.moniker == 'emptyhomes' %]
+ <strong>[% loc('Report empty properties') %]</strong>
+ [% ELSE %]
[%
subhead
= c.cobrand.moniker == 'southampton'
@@ -17,6 +20,7 @@
[% IF subhead != ' ' %]
<small>[% subhead %]</small>
[% END %]
+ [% END %]
</p>
[% TRY %][% INCLUDE 'front/news.html' %][% CATCH file %][% END %]
diff --git a/templates/web/emptyhomes/header.html b/templates/web/emptyhomes/header.html
index 9b9193e32..cc2f68ac0 100644
--- a/templates/web/emptyhomes/header.html
+++ b/templates/web/emptyhomes/header.html
@@ -25,8 +25,14 @@
<div id="navigation">
<ul>
<li><a href="/">[% loc("Report a problem") %]</a></li>
+ <li><a href="/reports">[% loc("All reports") %]</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
deleted file mode 100644
index 4e6acf33e..000000000
--- a/templates/web/emptyhomes/index.html
+++ /dev/null
@@ -1,27 +0,0 @@
-[% INCLUDE 'header.html', title = '' %]
-
-<h2>Channel 4: The Great British Property Scandal</h2>
-
-<div class="video"><object id="flashObj" width="480" height="270" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0"><param name="movie" value="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&isUI=1" /><param name="bgcolor" value="#FFFFFF" /><param name="flashVars" value="@videoPlayer=1293919404001&playerID=1242807532001&playerKey=AQ~~,AAABIWs5YNk~,K8Yb_Dc0PlMA8gCUiCBbnEcXR1bU7HRm&domain=embed&dynamicStreaming=true" /><param name="base" value="http://admin.brightcove.com" /><param name="seamlesstabbing" value="false" /><param name="allowFullScreen" value="true" /><param name="swLiveConnect" value="true" /><param name="allowScriptAccess" value="always" /><embed src="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&isUI=1" bgcolor="#FFFFFF" flashVars="@videoPlayer=1293919404001&playerID=1242807532001&playerKey=AQ~~,AAABIWs5YNk~,K8Yb_Dc0PlMA8gCUiCBbnEcXR1bU7HRm&domain=embed&dynamicStreaming=true" base="http://admin.brightcove.com" name="flashObj" width="480" height="270" seamlesstabbing="false" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always" swLiveConnect="true" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object></div>
-
-<p>
-Empty Homes were offical advisors to the recent empty homes TV series <strong>The Great British Property Scandal</strong>!
-</p>
-
-<p>
-The series highlighted the nearly two million British families who don’t have adequate housing, and the million-odd homes lying empty across the UK.
-</p>
-
-<p>
-The TV series launched a campaign for action and while this is running, our <a href="[% uri => '/' %]">www.reportemptyhomes.com</a> website has been merged with the campaign's reporting system so that all reports are gathered together and sent on to the local councils. Please use these links to report empty properties which you know of:
-</p>
-
-<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://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>
-
-[% INCLUDE 'footer.html' %]