aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/web/default/report/updates.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/web/default/report/updates.html b/templates/web/default/report/updates.html
index 65f743526..b7adb014f 100644
--- a/templates/web/default/report/updates.html
+++ b/templates/web/default/report/updates.html
@@ -29,14 +29,14 @@
[%- IF !update_state && update.problem_state %]
[%- state = update.meta_problem_state %]
[%- IF c.cobrand.moniker == 'bromley' OR problem.bodies_str == '2482' %]
- [% state = loc('no further action') IF update.problem_state == 'unable to fix' %]
- [% state = loc('third party responsibility') IF update.problem_state == 'not responsible' %]
- [% END %]
+ [%- SET state = loc('no further action') IF update.problem_state == 'unable to fix' %]
+ [%- SET state = loc('third party responsibility') IF update.problem_state == 'not responsible' %]
+ [%- END %]
[%- IF update.problem_state == 'confirmed' AND global.last_state != '' %]
[%- update_state = ", " _ loc('reopened') %]
[%- ELSIF update.problem_state != 'confirmed' %]
[%- update_state = ", " _ tprintf(loc( 'marked as %s' ), state ) %]
- [% END %]
+ [%- END %]
[%- END %]
[%- update_state IF update_state != global.last_state %]
[%- global.last_state = update_state %]