* Finish task #5065.

This commit is contained in:
Yagami
2018-11-08 14:20:46 +08:00
parent 9976978d8a
commit cfa64fdc4e
2 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -1010,7 +1010,7 @@ class bug extends control
$bug = $this->bug->getById($bugID);
$productID = $bug->product;
$users = $this->user->getPairs();
$users = $this->user->getPairs('noclosed');
$assignedTo = $bug->openedBy;
if(!isset($users[$assignedTo])) $assignedTo = $this->bug->getModuleOwner($bug->module, $productID);
unset($this->lang->bug->resolutionList['tostory']);
+7 -3
View File
@@ -96,9 +96,6 @@
<?php endforeach;?>
</div>
</div>
<?php echo $this->fetch('file', 'printFiles', array('files' => $doc->files, 'fieldset' => 'true'));?>
<?php $actionFormLink = $this->createLink('action', 'comment', "objectType=doc&objectID=$doc->id");?>
<?php include '../../common/view/action.html.php';?>
</div>
<div class='main-actions'>
<div class="btn-toolbar">
@@ -178,6 +175,13 @@
</div>
</details>
</div>
<div class='cell'>
<?php $actionFormLink = $this->createLink('action', 'comment', "objectType=doc&objectID=$doc->id");?>
<?php include '../../common/view/action.html.php';?>
</div>
<div class='cell'>
<?php echo $this->fetch('file', 'printFiles', array('files' => $doc->files, 'fieldset' => 'true'));?>
</div>
</div>
</div>