diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-28 18:12:21 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-28 18:12:21 +0100 |
commit | 89e4686d589a27cd989c33d29b5852dc00459ec6 (patch) | |
tree | fa2ad9b07fec83d3484b2ca2c67eae13270314d9 | |
parent | 3773cf3459d023ed3515afbd4ff7b3e1253dc4d0 (diff) |
use is_fixed
-rw-r--r-- | templates/web/default/report/display.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/default/report/display.html b/templates/web/default/report/display.html index 0c0c5e22d..92ca7ff34 100644 --- a/templates/web/default/report/display.html +++ b/templates/web/default/report/display.html @@ -96,12 +96,12 @@ [% END %] </select> [% ELSE %] - [% IF problem.state == 'fixed' AND c.user_exists AND c.user.id == problem.user_id %] + [% IF problem.is_fixed AND c.user_exists AND c.user.id == problem.user_id %] <div class="checkbox"> <input type="checkbox" name="reopen" id="form_reopen" value="1"[% ' checked' IF update.mark_open %]> <label for="form_reopen">[% loc('This problem has not been fixed') %]</label> </div> - [% ELSIF problem.state != 'fixed' %] + [% ELSIF !problem.is_fixed %] <div class="checkbox"> <input type="checkbox" name="fixed" id="form_fixed" value="1"[% fixed %]> <label for="form_fixed">[% loc('This problem has been fixed') %]</label> |