diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-08 12:39:40 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-08 12:39:40 +0100 |
commit | 2d0503ccfd4c55ea7252e19603fe4732c2f36f9e (patch) | |
tree | c49fd72256181c2e0f965c22961fa6fe72466931 /templates/web/default | |
parent | 614abaa627d3f9dfe14efcb994cdcfc0146a623d (diff) |
Start moving stuff out of Problems.pm, do JSON as per its better-way comment.
Diffstat (limited to 'templates/web/default')
-rw-r--r-- | templates/web/default/front_stats.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/web/default/front_stats.html b/templates/web/default/front_stats.html index 847df2497..385414768 100644 --- a/templates/web/default/front_stats.html +++ b/templates/web/default/front_stats.html @@ -4,6 +4,7 @@ # 'Template::Plugin::Number::Format' %] +<h2>[% loc('FixMyStreet updates') %]</h2> [% stats = c.cobrand.front_stats_data(); @@ -37,7 +38,9 @@ <div id="front_stats"> <div>[% tprintf( new_text, stats.new ) | comma %]</div> + [% IF c.cobrand.moniker != 'emptyhomes' %] <div>[% tprintf( fixed_text, stats.fixed ) | comma %]</div> + [% END %] <div>[% tprintf( updates_text, stats.updates ) | comma %]</div> </div> |