diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-29 10:41:01 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-31 15:37:10 +0100 |
commit | 51a5bcc74982aefea4f7b364e2f4bc49596bd9bf (patch) | |
tree | ed76b4ea5dc1a1be65e34b33c8471c4c0472e2e8 /templates/web/base/front | |
parent | efd398d47b9cd7c5e86190f2daa3ec1fa613484c (diff) |
Hide things needing fixed state if no fixed state.
Front page stats, update form question, list filtering, plus do not send
any questionnaires.
Diffstat (limited to 'templates/web/base/front')
-rw-r--r-- | templates/web/base/front/stats.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/web/base/front/stats.html b/templates/web/base/front/stats.html index eb671137b..41358c869 100644 --- a/templates/web/base/front/stats.html +++ b/templates/web/base/front/stats.html @@ -35,7 +35,9 @@ <div id="front_stats"> <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 %] |