[% USE date %] [% BLOCK banner %] [% END %] [% IF problem.is_fixed %] [% INCLUDE banner, id = 'fixed', text = loc('Fixed') %] [% END %] [% IF problem.is_closed %] [% INCLUDE banner, id = 'closed', text = loc('Closed') %] [% END %] [% IF NOT problem.to_body_named('Bromley') %] [% IF problem.send_method_used != 'Open311' AND problem.is_open AND date.now - problem.lastupdate.epoch > 8 * 7 * 24 * 60 * 60 %] [% INCLUDE banner, id = 'unknown', text = loc('Status unknown') %] [% ELSIF problem.is_in_progress %] [% INCLUDE banner, id = 'progress', text = prettify_state(problem.state) %] [% END %] [% END %]