aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-08-29 15:55:24 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-08-31 15:37:10 +0100
commitefd398d47b9cd7c5e86190f2daa3ec1fa613484c (patch)
tree84a82eea010023f9f002aa28a3d47ca1ff688f79 /templates
parentb1adf1baaf422a43c17e9a33f698c97d76a5f027 (diff)
Update form asks for reopen of all closed states.
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/report/update/form_update.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/report/update/form_update.html b/templates/web/base/report/update/form_update.html
index 34abf53c5..c988e0593 100644
--- a/templates/web/base/report/update/form_update.html
+++ b/templates/web/base/report/update/form_update.html
@@ -39,7 +39,7 @@
<label for="state">[% loc( 'State' ) %]</label>
[% INCLUDE 'report/inspect/state_groups_select.html' %]
[% ELSE %]
- [% IF (problem.is_fixed OR problem.state == 'closed') AND ((c.user_exists AND c.user.id == problem.user_id) OR alert_to_reporter) %]
+ [% IF (problem.is_fixed OR problem.is_closed) AND ((c.user_exists AND c.user.id == problem.user_id) OR alert_to_reporter) %]
<input type="checkbox" name="reopen" id="form_reopen" value="1"[% ' checked' IF (update.mark_open || c.req.params.reopen) %]>
[% IF problem.is_closed %]