This commit is contained in:
dingna
2021-09-13 16:56:52 +08:00
parent 13614e058b
commit df3d33e91f

View File

@@ -52,13 +52,15 @@
<div class='table-row'>
<div class='table-col'>
<?php
$executionName = empty($projectID) ? zget($projects, $execution->project) . ' / ' . $execution->name : $execution->name;
if(common::hasPriv('execution', 'task'))
{
echo html::a($this->createLink('execution', 'task', "executionID=$execution->id"), $execution->name, '', "title='{$execution->name}'");
echo html::a($this->createLink('execution', 'task', "executionID=$execution->id"), $executionName, '', "title='{$executionName}'");
}
else
{
echo "<span title='{$execution->name}'>{$execution->name}</span>";
echo "<span title='{$executionName}'>{$executionName}</span>";
}
?>
</div>