Merge branch 'zenops_44' into zenops_46
This commit is contained in:
@@ -420,6 +420,20 @@
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='MRThWidth'><?php echo $lang->task->linkCommit;?></th>
|
||||
<td>
|
||||
<?php
|
||||
$canViewRevision = common::hasPriv('repo', 'revision');
|
||||
foreach($linkCommits as $commit)
|
||||
{
|
||||
$revision = substr($commit->revision, 0, 10);
|
||||
$commitTitle = $revision . ' ' . $commit->comment;
|
||||
echo "<div class='link-commit' title='$commitTitle'>" . ($canViewRevision ? html::a($this->createLink('repo', 'revision', "repoID={$commit->repo}&objectID=0&revision={$commit->revision}"), "$revision") . ' ' . $commit->comment : $commitTitle) . '<br />';
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user