* Finish task #8389.

This commit is contained in:
holan20180123
2020-11-17 16:11:06 +08:00
parent 4943ce7bbe
commit cb8dc1bc3b
8 changed files with 31 additions and 9 deletions
+4 -1
View File
@@ -39,7 +39,10 @@
<div class="detail-content article-content"><?php echo $task->report;?></div>
</div>
<?php endif;?>
<?php if(common::canBeChanged('testtask', $task)) $actionFormLink = $this->createLink('action', 'comment', "objectType=testtask&objectID=$task->id");?>
<?php
$canBeChanged = common::canBeChanged('testtask', $task);
if($canBeChanged) $actionFormLink = $this->createLink('action', 'comment', "objectType=testtask&objectID=$task->id");
?>
</div>
<?php $this->printExtendFields($task, 'div', "position=left&inForm=0&inCell=1");?>
<div class='cell'><?php include '../../common/view/action.html.php';?></div>