* Code for task #69595.

This commit is contained in:
sunguangming
2022-09-21 13:22:17 +08:00
parent 6e607110f2
commit e78b1c4331
3 changed files with 7 additions and 2 deletions
+2 -1
View File
@@ -698,7 +698,8 @@ class bugModel extends model
->add('id', $bugID)
->cleanInt('product,module,severity,project,execution,story,task,branch')
->stripTags($this->config->bug->editor->edit['id'], $this->config->allowedTags)
->setDefault('product,module,execution,story,task,duplicateBug,branch', 0)
->setDefault('module,execution,story,task,duplicateBug,branch', 0)
->setDefault('product', $oldBug->product)
->setDefault('openedBuild', '')
->setDefault('os', '')
->setDefault('browser', '')
+2
View File
@@ -96,6 +96,7 @@ if($this->app->tab == 'project') js::set('objectID', $bug->project);
<div class='detail-title'><?php echo $lang->story->legendBasicInfo;?></div>
<table class='table table-form'>
<tbody>
<?php if(empty($product->shadow)):?>
<tr>
<th class='w-80px'><?php echo $lang->bug->product;?></th>
<td>
@@ -105,6 +106,7 @@ if($this->app->tab == 'project') js::set('objectID', $bug->project);
</div>
</td>
</tr>
<?php endif;?>
<tr>
<th><?php echo $lang->bug->module;?></th>
<td>
+3 -1
View File
@@ -112,10 +112,12 @@
<div class='tab-pane active' id='legendBasicInfo'>
<table class="table table-data">
<tbody>
<?php if(empty($product->shadow)):?>
<tr valign='middle'>
<th class='thWidth'><?php echo $lang->bug->product;?></th>
<td><?php if(!common::printLink('product', 'view', "productID=$bug->product", $product->name, '', "data-app='product'")) echo $product->name;?></td>
</tr>
<?php endif;?>
<?php if($product->type != 'normal'):?>
<tr>
<th><?php echo sprintf($lang->product->branch, $lang->product->branchName[$product->type]);?></th>
@@ -123,7 +125,7 @@
</tr>
<?php endif;?>
<tr>
<th><?php echo $lang->bug->module;?></th>
<th class='thWidth'><?php echo $lang->bug->module;?></th>
<?php
$moduleTitle = '';
ob_start();