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) {
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;
......
......@@ -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>
......
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