sprint_204_57094

This commit is contained in:
sunjun
2022-06-15 01:42:06 +00:00
parent 1b2cd0651b
commit a99aed925f
+3 -3
View File
@@ -191,11 +191,11 @@
{
if($name != $end)
{
echo html::a($this->createLink('program', 'product', "programID=$ID"), $name) . '/ ';
echo strpos(",{$app->user->view->programs},", ",$ID,") !== false ? html::a($this->createLink('program', 'product', "programID=$ID"), $name) . '/ ' : $name . '/ ';
}
else
{
echo html::a($this->createLink('program', 'product', "programID=$ID"), $name);
echo strpos(",{$app->user->view->programs},", ",$ID,") !== false ? html::a($this->createLink('program', 'product', "programID=$ID"), $name) : $name;
}
}
?>
@@ -214,7 +214,7 @@
<div class="row row-grid">
<div class="col-xs-12">
<i class='icon icon-project text-muted'></i>
<?php echo html::a($this->createLink('project', 'index', "projectID=$execution->project", '', '', $execution->project), $execution->projectInfo->name)?>
<?php echo strpos(",{$app->user->view->projects},", ",$execution->project,") !== false ? html::a($this->createLink('project', 'index', "projectID=$execution->project", '', '', $execution->project), $execution->projectInfo->name) : $execution->projectInfo->name;?>
</div>
</div>
</div>