diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-07-07 16:59:23 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-07-08 17:59:17 +0100 |
commit | ba8d2c4ba6f6c0216d618e77d368b640a2b92d1e (patch) | |
tree | 8b9e1a960f91c006606b5e0767a84a400dfc2fb0 /templates/web/default/front | |
parent | 8f2c5942e3aa5d3b85e76b7353ab7ada87f97fc6 (diff) |
Rename 'default' web directory to 'base'.
This should reduce confusion with the Default cobrand and override order.
Diffstat (limited to 'templates/web/default/front')
-rw-r--r-- | templates/web/default/front/international_banner.html | 0 | ||||
-rw-r--r-- | templates/web/default/front/stats.html | 43 |
2 files changed, 0 insertions, 43 deletions
diff --git a/templates/web/default/front/international_banner.html b/templates/web/default/front/international_banner.html deleted file mode 100644 index e69de29bb..000000000 --- a/templates/web/default/front/international_banner.html +++ /dev/null diff --git a/templates/web/default/front/stats.html b/templates/web/default/front/stats.html deleted file mode 100644 index 5367f1118..000000000 --- a/templates/web/default/front/stats.html +++ /dev/null @@ -1,43 +0,0 @@ -[% - USE Comma; - # Note - if we want to i18n the commas we should try - # 'Template::Plugin::Number::Format' -%] - -[% - stats = c.cobrand.front_stats_data(); - - new_text = - stats.recency == '1 week' - ? nget( - "<big>%s</big> report in past week", - "<big>%s</big> reports in past week", - stats.new - ) - : nget( - "<big>%s</big> report recently", - "<big>%s</big> reports recently", - stats.new - ); - - fixed_text = nget( - "<big>%s</big> fixed in past month", - "<big>%s</big> fixed in past month", - stats.fixed - ); - - updates_text = nget( - "<big>%s</big> update on reports", - "<big>%s</big> updates on reports", - stats.updates - ); - -%] - -<div id="front_stats"> - <div>[% tprintf( new_text, stats.new ) | comma %]</div> - <div>[% tprintf( fixed_text, stats.fixed ) | comma %]</div> - [% IF c.cobrand.moniker != 'zurich' %] - <div>[% tprintf( updates_text, stats.updates ) | comma %]</div> - [% END %] -</div> |