Commit 1b334207 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 45349: Allow to change the OS when changing several bugs at once - Patch by…

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
parent ce9066ea
...@@ -980,6 +980,7 @@ if ($dotweak) { ...@@ -980,6 +980,7 @@ if ($dotweak) {
my @enterable_products = GetEnterableProducts(); my @enterable_products = GetEnterableProducts();
$vars->{'products'} = \@enterable_products; $vars->{'products'} = \@enterable_products;
$vars->{'platforms'} = \@::legal_platform; $vars->{'platforms'} = \@::legal_platform;
$vars->{'op_sys'} = \@::legal_opsys;
$vars->{'priorities'} = \@::legal_priority; $vars->{'priorities'} = \@::legal_priority;
$vars->{'severities'} = \@::legal_severity; $vars->{'severities'} = \@::legal_severity;
$vars->{'resolutions'} = \@::settable_resolution; $vars->{'resolutions'} = \@::settable_resolution;
......
...@@ -67,14 +67,10 @@ ...@@ -67,14 +67,10 @@
</tr> </tr>
<tr> <tr>
<th> <th><label for="component">Component:</label></th>
<label for="rep_platform">
<a href="page.cgi?id=fields.html#rep_platform">Platform</a>:
</label>
</th>
<td> <td>
[% PROCESS selectmenu menuname = "rep_platform" [% PROCESS selectmenu menuname = "component"
menuitems = platforms %] menuitems = components %]
</td> </td>
<th> <th>
...@@ -90,10 +86,14 @@ ...@@ -90,10 +86,14 @@
</tr> </tr>
<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> <td>
[% PROCESS selectmenu menuname = "component" [% PROCESS selectmenu menuname = "rep_platform"
menuitems = components %] menuitems = platforms %]
</td> </td>
<th> <th>
...@@ -108,15 +108,25 @@ ...@@ -108,15 +108,25 @@
</tr> </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> <th><label for="target_milestone">Target Milestone:</label></th>
<td colspan="3"> <td>
[% PROCESS selectmenu menuname = "target_milestone" [% PROCESS selectmenu menuname = "target_milestone"
menuitems = targetmilestones %] menuitems = targetmilestones %]
</td> </td>
</tr> [% END %]
[% END %] </tr>
[% IF UserInGroup(Param("timetrackinggroup")) %] [% IF UserInGroup(Param("timetrackinggroup")) %]
<tr> <tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment