summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-08-31 09:56:11 +0200
committerlpsolit%gmail.com <>2005-08-31 09:56:11 +0200
commit1b3342073a4b337f2b800a147a68032c69272622 (patch)
tree2c46522655cb01f98c5b7b07a29fd8ae0c22bb59
parentce9066eab882827f5f58417a32de343c6a54d296 (diff)
downloadbugzilla-1b3342073a4b337f2b800a147a68032c69272622.tar.gz
bugzilla-1b3342073a4b337f2b800a147a68032c69272622.tar.xz
Bug 45349: Allow to change the OS when changing several bugs at once - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
-rwxr-xr-xbuglist.cgi1
-rw-r--r--template/en/default/list/edit-multiple.html.tmpl40
2 files changed, 26 insertions, 15 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 44854b237..b6d95c994 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -980,6 +980,7 @@ if ($dotweak) {
my @enterable_products = GetEnterableProducts();
$vars->{'products'} = \@enterable_products;
$vars->{'platforms'} = \@::legal_platform;
+ $vars->{'op_sys'} = \@::legal_opsys;
$vars->{'priorities'} = \@::legal_priority;
$vars->{'severities'} = \@::legal_severity;
$vars->{'resolutions'} = \@::settable_resolution;
diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl
index 096c0e695..9ce3a3e30 100644
--- a/template/en/default/list/edit-multiple.html.tmpl
+++ b/template/en/default/list/edit-multiple.html.tmpl
@@ -67,14 +67,10 @@
</tr>
<tr>
- <th>
- <label for="rep_platform">
- <a href="page.cgi?id=fields.html#rep_platform">Platform</a>:
- </label>
- </th>
+ <th><label for="component">Component:</label></th>
<td>
- [% PROCESS selectmenu menuname = "rep_platform"
- menuitems = platforms %]
+ [% PROCESS selectmenu menuname = "component"
+ menuitems = components %]
</td>
<th>
@@ -90,10 +86,14 @@
</tr>
<tr>
- <th><label for="component">Component:</label></th>
+ <th>
+ <label for="rep_platform">
+ <a href="page.cgi?id=fields.html#rep_platform">Platform</a>:
+ </label>
+ </th>
<td>
- [% PROCESS selectmenu menuname = "component"
- menuitems = components %]
+ [% PROCESS selectmenu menuname = "rep_platform"
+ menuitems = platforms %]
</td>
<th>
@@ -108,15 +108,25 @@
</tr>
- [% IF Param("usetargetmilestone") %]
- <tr>
+ <tr>
+ <th>
+ <label for="op_sys">
+ <a href="page.cgi?id=fields.html#op_sys">OS</a>:
+ </label>
+ </th>
+ <td [% " colspan=\"3\"" IF !Param("usetargetmilestone") %]>
+ [% PROCESS selectmenu menuname = "op_sys"
+ menuitems = op_sys %]
+ </td>
+
+ [% IF Param("usetargetmilestone") %]
<th><label for="target_milestone">Target Milestone:</label></th>
- <td colspan="3">
+ <td>
[% PROCESS selectmenu menuname = "target_milestone"
menuitems = targetmilestones %]
</td>
- </tr>
- [% END %]
+ [% END %]
+ </tr>
[% IF UserInGroup(Param("timetrackinggroup")) %]
<tr>