diff options
Diffstat (limited to 'templates/web/base/front')
-rw-r--r-- | templates/web/base/front/footer-marketing.html | 4 | ||||
-rw-r--r-- | templates/web/base/front/stats.html | 12 |
2 files changed, 11 insertions, 5 deletions
diff --git a/templates/web/base/front/footer-marketing.html b/templates/web/base/front/footer-marketing.html index 3fb7a3044..6e7fc2a97 100644 --- a/templates/web/base/front/footer-marketing.html +++ b/templates/web/base/front/footer-marketing.html @@ -1,8 +1,8 @@ <div class="tablewrapper bordered footer-marketing"> <p> - [% loc('Would you like to contribute to FixMyStreet? Our code is open source and <a href="http://fixmystreet.org">available at fixmystreet.org</a>.') %] + [% loc('Would you like to contribute to FixMyStreet? Our code is open source and <a href="https://fixmystreet.org">available at fixmystreet.org</a>.') %] </p> <p> - [% loc('Powered by <a class="platform-logo" href="http://fixmystreet.org/">FixMyStreet Platform</a>') %] + [% loc('Powered by <a class="platform-logo" href="https://fixmystreet.org/">FixMyStreet Platform</a>') %] </p> </div> 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> |