* fix the bug #135.

This commit is contained in:
wangchunsheng
2010-12-02 06:56:06 +00:00
parent 9f56a198d7
commit f377666873
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -352,6 +352,7 @@ class project extends control
/* Get builds. */
$this->view->builds = $this->loadModel('build')->getProjectBuilds((int)$projectID);
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->display();
}
+1 -1
View File
@@ -37,7 +37,7 @@
<td class='a-left nobr'><?php strpos($build->scmPath, 'http') === 0 ? printf(html::a($build->scmPath)) : printf($build->scmPath);?></td>
<td class='a-left nobr'><?php strpos($build->filePath, 'http') === 0 ? printf(html::a($build->filePath)) : printf($build->filePath);?></td>
<td><?php echo $build->date?></td>
<td><?php echo $build->builder?></td>
<td><?php echo $users[$build->builder]?></td>
<td>
<?php
common::printLink('build', 'edit', "buildID=$build->id", $lang->edit);