aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/web/base/report/banner.html5
-rw-r--r--templates/web/fixmystreet.com/report/banner.html4
2 files changed, 3 insertions, 6 deletions
diff --git a/templates/web/base/report/banner.html b/templates/web/base/report/banner.html
index bca3f1395..cf700dd4a 100644
--- a/templates/web/base/report/banner.html
+++ b/templates/web/base/report/banner.html
@@ -11,6 +11,8 @@
[% IF problem.is_open AND date.now - problem.lastupdate.epoch > 8 * 7 * 24 * 60 * 60 %]
[% INCLUDE banner, id = 'unknown', text = loc('Unknown') %]
+[% ELSIF problem.is_in_progress %]
+ [% INCLUDE banner, id = 'progress', text = prettify_state(problem.state) %]
[% END %]
[% IF problem.is_fixed %]
[% INCLUDE banner, id = 'fixed', text = prettify_state('fixed') %]
@@ -18,6 +20,3 @@
[% IF problem.is_closed %]
[% INCLUDE banner, id = 'closed', text = prettify_state('closed') %]
[% END %]
-[% IF problem.is_in_progress %]
- [% INCLUDE banner, id = 'progress', text = prettify_state(problem.state) %]
-[% END %]
diff --git a/templates/web/fixmystreet.com/report/banner.html b/templates/web/fixmystreet.com/report/banner.html
index dd7119fc4..8f6ea19c1 100644
--- a/templates/web/fixmystreet.com/report/banner.html
+++ b/templates/web/fixmystreet.com/report/banner.html
@@ -21,9 +21,7 @@
[% IF problem.is_open AND date.now - problem.lastupdate.epoch > 8 * 7 * 24 * 60 * 60 %]
[% INCLUDE banner, id = 'unknown', text = loc('Unknown') %]
- [% END %]
-
- [% IF problem.is_in_progress %]
+ [% ELSIF problem.is_in_progress %]
[% INCLUDE banner, id = 'progress', text = loc('In progress') %]
[% END %]