aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-03-08 11:06:21 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-03-08 11:06:21 +0000
commite946a7b752ec93144262b01fddf73a835274cc42 (patch)
treef97757425eda54c47768a8b166ede7407b1ed7d1 /templates
parentddc2fd59373c4210d6a9b1b9d41f487d5c4d0e72 (diff)
Have total on EHA front page be all time.
Diffstat (limited to 'templates')
-rw-r--r--templates/web/default/front/stats.html4
-rw-r--r--templates/web/emptyhomes/front/stats.html7
2 files changed, 7 insertions, 4 deletions
diff --git a/templates/web/default/front/stats.html b/templates/web/default/front/stats.html
index fc8b9e99a..5367f1118 100644
--- a/templates/web/default/front/stats.html
+++ b/templates/web/default/front/stats.html
@@ -36,12 +36,8 @@
<div id="front_stats">
<div>[% tprintf( new_text, stats.new ) | comma %]</div>
- [% IF c.cobrand.moniker == 'emptyhomes' %]
- <div><a href="/local/">Find latest local and national news</a></div>
- [% ELSE %]
<div>[% tprintf( fixed_text, stats.fixed ) | comma %]</div>
[% IF c.cobrand.moniker != 'zurich' %]
<div>[% tprintf( updates_text, stats.updates ) | comma %]</div>
[% END %]
- [% END %]
</div>
diff --git a/templates/web/emptyhomes/front/stats.html b/templates/web/emptyhomes/front/stats.html
new file mode 100644
index 000000000..f6aacf859
--- /dev/null
+++ b/templates/web/emptyhomes/front/stats.html
@@ -0,0 +1,7 @@
+[% USE Comma %]
+[% stats = c.cobrand.front_stats_data %]
+
+<div id="front_stats">
+ <div>[% tprintf( loc("<big>%s</big> reports"), stats ) | comma %]</div>
+ <div><a href="/local/">[% loc('Find latest local and national news') %]</a></div>
+</div>