* Fix bug #22146.
This commit is contained in:
@@ -549,7 +549,6 @@ class story extends control
|
||||
foreach(explode(',', $this->config->story->list->customBatchCreateFields) as $field)
|
||||
{
|
||||
if($product->type != 'normal') $customFields[$product->type] = $this->lang->product->branchName[$product->type];
|
||||
if(isonlybody() and $field == 'plan') continue;
|
||||
$customFields[$field] = $this->lang->story->$field;
|
||||
}
|
||||
|
||||
|
||||
@@ -49,9 +49,7 @@
|
||||
<tr>
|
||||
<th class='c-branch<?php echo zget($visibleFields, $product->type, ' hidden')?>'><?php echo $lang->product->branch;?></th>
|
||||
<th class='c-module<?php echo zget($requiredFields, 'module', '', ' required');?>'><?php echo $lang->story->module;?></th>
|
||||
<?php if(!isonlybody()):?>
|
||||
<th class='c-plan<?php echo zget($visibleFields, 'plan', ' hidden') . zget($requiredFields, 'plan', '', ' required');?>'><?php echo $lang->story->plan;?></th>
|
||||
<?php endif;?>
|
||||
<?php if(isset($execution) and $execution->type == 'kanban'):?>
|
||||
<th class='c-branch'><?php echo $lang->kanbancard->region;?></th>
|
||||
<th class='c-branch'><?php echo $lang->kanbancard->lane;?></th>
|
||||
@@ -80,9 +78,7 @@
|
||||
<tr class="template">
|
||||
<td class='text-left<?php echo zget($visibleFields, $product->type, ' hidden')?>'><?php echo html::select('branch[$id]', $branches, $branch, "class='form-control chosen' onchange='setModuleAndPlan(this.value, $productID, \$id)'");?></td>
|
||||
<td class='text-left' style='overflow:visible'><?php echo html::select('module[$id]', $moduleOptionMenu, $moduleID, "class='form-control chosen'");?></td>
|
||||
<?php if(!isonlybody()):?>
|
||||
<td class='text-left<?php echo zget($visibleFields, 'plan', ' hidden')?>' style='overflow:visible'><?php echo html::select('plan[$id]', $plans, $planID, "class='form-control chosen'");?></td>
|
||||
<?php endif;?>
|
||||
<?php if(isset($execution) and $execution->type == 'kanban'):?>
|
||||
<td class='text-left'><?php echo html::select('regions[$id]', $regionPairs, $regionID, "class='form-control chosen' onchange='setLane(this.value, \$id)'");?>
|
||||
<td class='text-left'><?php echo html::select('lanes[$id]', $lanePairs, $laneID, "class='form-control chosen'");?>
|
||||
|
||||
Reference in New Issue
Block a user