diff options
author | Jon Kristensen <jon@nejla.com> | 2017-09-23 19:07:59 +0200 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-04-03 09:34:46 +0100 |
commit | 1a2f492b7d21555e9bf632d153bc0917ef39f33d (patch) | |
tree | 699ca8b9d79f48b5fd74924849ba25edccd3458b | |
parent | 9df5053864bee7069f5586c1097e2df604e14c0b (diff) |
[FixaMinGata] Replace stats separators with non-breaking spaces
-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> |