From ba8d2c4ba6f6c0216d618e77d368b640a2b92d1e Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Mon, 7 Jul 2014 16:59:23 +0100 Subject: Rename 'default' web directory to 'base'. This should reduce confusion with the Default cobrand and override order. --- .../web/default/front/international_banner.html | 0 templates/web/default/front/stats.html | 43 ---------------------- 2 files changed, 43 deletions(-) delete mode 100644 templates/web/default/front/international_banner.html delete mode 100644 templates/web/default/front/stats.html (limited to 'templates/web/default/front') 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 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( - "%s report in past week", - "%s reports in past week", - stats.new - ) - : nget( - "%s report recently", - "%s reports recently", - stats.new - ); - - fixed_text = nget( - "%s fixed in past month", - "%s fixed in past month", - stats.fixed - ); - - updates_text = nget( - "%s update on reports", - "%s updates on reports", - stats.updates - ); - -%] - -
-
[% tprintf( new_text, stats.new ) | comma %]
-
[% tprintf( fixed_text, stats.fixed ) | comma %]
- [% IF c.cobrand.moniker != 'zurich' %] -
[% tprintf( updates_text, stats.updates ) | comma %]
- [% END %] -
-- cgit v1.2.3