This commit is contained in:
songchenxuan
2023-06-01 08:43:15 +08:00
parent 4e94a792fd
commit 135cc7b291
+13 -1
View File
@@ -91,7 +91,19 @@
<?php printf('%03d', $task->id);?>
</td>
<td class='text-left' title="<?php echo $task->name?>"><?php echo html::a($this->createLink('testtask', 'cases', "taskID=$task->id"), $task->name, '', "data-app='project'");?></td>
<td title="<?php echo $task->buildName?>"><?php echo ($task->build == 'trunk' || empty($task->buildName)) ? $lang->trunk : html::a($this->createLink('build', 'view', "buildID=$task->build"), $task->buildName);?></td>
<td title="<?php echo $task->buildName?>">
<?php
if($task->build == 'trunk' || empty($task->buildName))
{
echo $lang->trunk;
}
else
{
$linkModule = $project->multiple ? 'build' : 'projectbuild';
echo html::a($this->createLink($linkModule, 'view', "buildID=$task->build"), $task->buildName);
}
?>
</td>
<td><?php echo zget($users, $task->owner);?></td>
<td><?php echo $task->begin?></td>
<td><?php echo $task->end?></td>