summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-12-06 00:05:06 +0100
committerjocuri%softhome.net <>2004-12-06 00:05:06 +0100
commit12ab11bb8b53e3462f2c93153c1677e807b87d7c (patch)
tree169660281d0e583f9d77838b1967e3075a77dc66
parentae5571559b33b4c8c626198f03c9e85c584dbba0 (diff)
downloadbugzilla-12ab11bb8b53e3462f2c93153c1677e807b87d7c.tar.gz
bugzilla-12ab11bb8b53e3462f2c93153c1677e807b87d7c.tar.xz
Patch for bug 268462: Make users able to mass-close mixed RESOLVED/VERIFIED states; patch by Shane H. W. Travis <travis@sedsystems.ca>, r=jouni, a=justdave.
-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 %]