diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-04-03 09:40:14 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-04-03 09:40:14 +0100 |
commit | 2be38837422387ec0c71ff88ff3d3cc0f986b48c (patch) | |
tree | 7b47b7d8216b037b033ecbfd55056b6d1c53546f /templates/web/base/front | |
parent | 322df9f5002fdc8532c353c614b3e5e03a04a8b8 (diff) | |
parent | 089a3451fdcb8e1086313a63dbdb1e7930c4698e (diff) |
Merge branch 'jonkri-2.3'
Diffstat (limited to 'templates/web/base/front')
-rw-r--r-- | templates/web/base/front/stats.html | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/templates/web/base/front/stats.html b/templates/web/base/front/stats.html index 41358c869..8bef17d1f 100644 --- a/templates/web/base/front/stats.html +++ b/templates/web/base/front/stats.html @@ -34,11 +34,17 @@ %] <div id="front_stats"> + [% SWITCH c.cobrand.moniker %] + [% CASE 'fixamingata' %] + <div>[% tprintf( new_text, decode(new_n).replace(" ", " ").replace(",", " ") ) %]</div> + <div>[% tprintf( fixed_text, decode(fixed_n).replace(" ", " ").replace(",", " ") ) %]</div> + <div>[% tprintf( updates_text, decode(updates_n).replace(" ", " ").replace(",", " ") ) %]</div> + [% CASE 'zurich' %] + <div>[% tprintf( new_text, decode(new_n) ) %]</div> + <div>[% tprintf( fixed_text, decode(fixed_n) ) %]</div> + [% CASE %] <div>[% tprintf( new_text, decode(new_n) ) %]</div> - [% IF has_fixed_state %] <div>[% tprintf( fixed_text, decode(fixed_n) ) %]</div> - [% END %] - [% IF c.cobrand.moniker != 'zurich' %] <div>[% tprintf( updates_text, decode(updates_n) ) %]</div> [% END %] </div> |