diff options
author | Struan Donald <struan@exo.org.uk> | 2012-10-02 18:58:10 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-10-02 18:59:09 +0100 |
commit | 0864deac37773c8c7f9d61e0fd1742c617f1cf2b (patch) | |
tree | 1ee478d88785716de38691435e6c0def2c68bff1 | |
parent | 844a16a3c51d69e99ba322a055673364a2a9290d (diff) |
display correct banner for new statuses
-rw-r--r-- | t/app/controller/report_display.t | 2 | ||||
-rw-r--r-- | templates/web/default/report/banner.html | 2 | ||||
-rw-r--r-- | templates/web/fixmystreet/report/banner.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/t/app/controller/report_display.t b/t/app/controller/report_display.t index c10f13547..fde52860a 100644 --- a/t/app/controller/report_display.t +++ b/t/app/controller/report_display.t @@ -292,7 +292,7 @@ for my $test ( fixed => 0 }, { - description => 'action scheduled eport', + description => 'action scheduled report', date => DateTime->now, state => 'action scheduled', banner_id => 'progress', diff --git a/templates/web/default/report/banner.html b/templates/web/default/report/banner.html index 85aaed82d..52bfa6e67 100644 --- a/templates/web/default/report/banner.html +++ b/templates/web/default/report/banner.html @@ -14,7 +14,7 @@ [% IF problem.is_closed %] [% INCLUDE banner, id = 'closed', text = loc('This problem has been closed') %] [% END %] -[% states = [ 'investigating', 'in progress', 'planned' ]; +[% states = [ 'investigating', 'in progress', 'planned', 'action scheduled' ]; IF states.grep(problem.state).size %] [% INCLUDE banner, id = 'progress', text = loc('This problem is in progress') %] [% END %] diff --git a/templates/web/fixmystreet/report/banner.html b/templates/web/fixmystreet/report/banner.html index 301a0e893..41969a44e 100644 --- a/templates/web/fixmystreet/report/banner.html +++ b/templates/web/fixmystreet/report/banner.html @@ -14,7 +14,7 @@ [% IF problem.is_closed %] [% INCLUDE banner, id = 'closed', text = loc('Closed') %] [% END %] -[% states = [ 'investigating', 'in progress', 'planned' ]; +[% states = [ 'investigating', 'in progress', 'planned', 'action scheduled' ]; IF c.cobrand.moniker != 'bromley' && states.grep(problem.state).size %] [% INCLUDE banner, id = 'progress', text = loc('In progress') %] [% END %] |