aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-12-20 09:43:38 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-12-20 14:24:51 +0000
commit5724c6adf8db7cca611fcc000e6fa4e995fcc2bd (patch)
tree5d2dfe04d5606d07413e113af9f2ea0ddbac9d6f /templates
parent649692298b0b870b161a3f8b755f46b16b534e48 (diff)
Show all questionnaire responses lacking updates.
Since questionnaire responses were recorded on email link click, we should have been showing those that reopened or fixed reports, not just steady-state "Still open" ones.
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/report/updates.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/web/base/report/updates.html b/templates/web/base/report/updates.html
index 1d37c1d99..817cc7eb4 100644
--- a/templates/web/base/report/updates.html
+++ b/templates/web/base/report/updates.html
@@ -12,9 +12,16 @@
[% 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 ) %]
- [% RETURN %]
+ [% END %]
+ [% RETURN %]
[% END %]
[% update.meta_line(c) %]