blob: d65f1a287204147f151d0d1a11dcff91a12f7e0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
[% global.last_state = '' %]
[% FOREACH update IN updates %]
[%- IF global.last_state == 'hidden' OR global.last_state == 'unconfirmed' OR update.problem_state == 'hidden' OR update.problem_state == 'unconfirmed' %]
[%- IF update.problem_state != '' %]
[%- global.last_state = update.problem_state %]
[%- END %]
[%- NEXT %]
[%- END %]
[%- IF update.get_extra_metadata('triage_report') == 1 AND ( NOT c.user OR ( NOT c.user.from_body AND NOT c.user.is_superuser ) ) %]
[%- NEXT %]
[%- END %]
[% INCLUDE 'report/update.html' %]
[% END %]
[% BLOCK meta_line %]
[% IF update.whenanswered %]
[% IF update.marks_fixed %]
[%# A questionnaire update that marked the report fixed %]
[% loc("Questionnaire filled in by problem reporter") %];
[% loc('State changed to:') %] [% prettify_state('fixed') %],
[% prettify_dt( update.whenanswered ) %]
[% ELSE %]
[%# A questionnaire update, currently saying report is still open %]
[% loc('Still open, via questionnaire') %], [% prettify_dt( update.whenanswered ) %]
[% END %]
[% RETURN %]
[% END %]
[% update.meta_line(c.user) %]
[% END %]
|