* [task#124033] Add branch name and repo ID in brnach list.

This commit is contained in:
liyang
2024-07-25 13:32:31 +08:00
committed by 曹延义
parent c9d072d23c
commit 09a39ea2aa
2 changed files with 4 additions and 3 deletions
+3 -1
View File
@@ -1875,7 +1875,9 @@ class repo extends control
foreach($branchList as &$branch)
{
$branch->committer = isset($branch->commit->author_name) ? $branch->commit->author_name : '';
$branch->repoID = $repoID;
$branch->branchName = helper::safe64Encode($branch->name);
$branch->committer = isset($branch->commit->author_name) ? $branch->commit->author_name : '';
if(isset($branch->commit->committer->identity->name)) $branch->committer = $branch->commit->committer->identity->name;
$branch->date = isset($branch->commit->committed_date) ? date('Y-m-d H:i:s', strtotime($branch->commit->committed_date)) : '';
+1 -2
View File
@@ -29,8 +29,7 @@ featureBar
) : null,
div
(
setID('flex'),
set::actions(array()),
setClass('flex'),
input
(
set::placeholder($lang->searchAB),