summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/list/edit-multiple.html.tmpl11
1 files changed, 6 insertions, 5 deletions
diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl
index dec54e4e6..f4b8ba49e 100644
--- a/template/en/default/list/edit-multiple.html.tmpl
+++ b/template/en/default/list/edit-multiple.html.tmpl
@@ -291,11 +291,12 @@
<input id="knob-verify" type="radio" name="knob" value="verify">
<label for="knob-verify">Mark [% terms.bugs %] as <b>VERIFIED</b></label><br>
[% END %]
- [% IF bugstatuses.contains('RESOLVED') || bugstatuses.contains('VERIFIED') %]
- [% knum = knum + 1 %]
- <input id="knob-close" type="radio" name="knob" value="close">
- <label for="knob-close">Mark [% terms.bugs %] as <b>CLOSED</b></label><br>
- [% END %]
+[% END %]
+
+[% IF !bugstatuses.containsany(openstates) AND !bugstatuses.contains('CLOSED') %]
+ [% knum = knum + 1 %]
+ <input id="knob-close" type="radio" name="knob" value="close">
+ <label for="knob-close">Mark [% terms.bugs %] as <b>CLOSED</b></label><br>
[% END %]
[% knum = knum + 1 %]