aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-11-22 19:13:30 +0000
committerStruan Donald <struan@exo.org.uk>2012-11-22 19:13:30 +0000
commita34f9a98ba599d6bdb790a524cf44308ba735509 (patch)
tree0c56295d286979c7b32a78eba0b9ef0272c76a77
parent4a8ec58a44e09fa92d289d1a93eef1d8337b4385 (diff)
display correct names for report statuses on bromley cobrand
-rw-r--r--templates/web/default/report/updates.html15
1 files changed, 13 insertions, 2 deletions
diff --git a/templates/web/default/report/updates.html b/templates/web/default/report/updates.html
index de873e2ed..4d2e94961 100644
--- a/templates/web/default/report/updates.html
+++ b/templates/web/default/report/updates.html
@@ -24,6 +24,17 @@
[%- END -%]
[%- ", " _ loc( 'marked as fixed' ) IF update.mark_fixed %]
[%- ", " _ loc( 'reopened' ) IF update.mark_open %]
- [%- ", " _ tprintf(loc( 'marked as %s' ), update.meta_problem_state) IF update.problem_state %]
+ [%- IF c.cobrand.moniker == 'bromley' %]
+ [%- IF update.problem_state %]
+ [%- update_state = update_state.problem_state %]
+ [%- IF update.problem_state == 'unable to fix' %]
+ [%- update_state = loc('no further action') %]
+ [%- ELSIF update.problem_state == 'confirmed' %]
+ [%- update_state = loc('open') %]
+ [%- END %]
+ [%- ", " _ tprintf(loc( 'marked as %s' ), update_state ) %]
+ [%- END %]
+ [%- ELSE %]
+ [%- ", " _ tprintf(loc( 'marked as %s' ), update.meta_problem_state ) IF update.problem_state %]
+ [% END %]
[% END %]
-