[% USE 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 ); new_n = stats.new | format_number; fixed_n = stats.fixed | format_number; updates_n = stats.updates | format_number; %]
[% SWITCH c.cobrand.moniker %] [% CASE 'fixamingata' %]
[% tprintf( new_text, decode(new_n).replace(" ", " ").replace(",", " ") ) %]
[% tprintf( fixed_text, decode(fixed_n).replace(" ", " ").replace(",", " ") ) %]
[% tprintf( updates_text, decode(updates_n).replace(" ", " ").replace(",", " ") ) %]
[% CASE 'zurich' %]
[% tprintf( new_text, decode(new_n) ) %]
[% tprintf( fixed_text, decode(fixed_n) ) %]
[% CASE %]
[% tprintf( new_text, decode(new_n) ) %]
[% tprintf( fixed_text, decode(fixed_n) ) %]
[% tprintf( updates_text, decode(updates_n) ) %]
[% END %]