diff options
-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> |