aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/report/banner.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/report/banner.html')
-rw-r--r--templates/web/base/report/banner.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/web/base/report/banner.html b/templates/web/base/report/banner.html
index 188e96502..c80d129eb 100644
--- a/templates/web/base/report/banner.html
+++ b/templates/web/base/report/banner.html
@@ -14,7 +14,6 @@
[% IF problem.is_closed %]
[% INCLUDE banner, id = 'closed', text = loc('Closed') %]
[% END %]
-[% states = [ 'investigating', 'in progress', 'planned', 'action scheduled' ];
- IF states.grep(problem.state).size %]
+[% IF problem.is_in_progress %]
[% INCLUDE banner, id = 'progress', text = loc('In progress') %]
[% END %]