*Finish task #64879.

This commit is contained in:
liuhong
2022-08-18 02:51:35 +00:00
parent 24ea56af1c
commit 6b6f9c39ee
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -61,7 +61,8 @@
<td class='text-left nobr'>
<?php if(!empty($task->team)) echo '<span class="label label-badge label-light">' . $this->lang->task->multipleAB . '</span> ';?>
<?php if($task->parent > 0) echo '<span class="label label-badge label-light">' . $this->lang->task->childrenAB . '</span> ';?>
<?php echo html::a($this->createLink('task', 'view', "taskID=$task->id"), $task->name, null, "style='color: $task->color'");?>
<?php $task->executionType == 'kanban' ? ($class = 'iframe').($onlybody = 'onlybody=yes') : ($class = '').($onlybody = '');?>
<?php echo html::a($this->createLink('task', 'view', "taskID=$task->id", '', "{$onlybody}", $task->project), $task->name, null,"class={$class} style='color: $task->color'");?>
</td>
<td class='hours' title="<?php echo $task->estimate . ' ' . $lang->execution->workHour;?>"><?php echo $task->estimate . $lang->execution->workHourUnit;?></td>
<td class='hours' title="<?php echo $task->consumed . ' ' . $lang->execution->workHour;?>"><?php echo $task->consumed . $lang->execution->workHourUnit;?></td>