* Adjust devops page locate.

This commit is contained in:
caoyanyi
2023-11-13 16:45:31 +08:00
parent d6b5d4bfa8
commit f164154408
3 changed files with 19 additions and 3 deletions
+2
View File
@@ -80,6 +80,7 @@ foreach($legendMisc['linkMR']['text'] as $MRID => $linkMRTitle)
$linkMR[] = div(a
(
$canViewMR ? set('href', $this->createLink('mr', 'view', "MRID={$MRID}")) : null,
set('data-app', 'devops'),
span(label(set::className('dark-outline rounded-full mr-2'), $MRID), $linkMRTitle)
));
}
@@ -89,6 +90,7 @@ foreach($legendMisc['linkCommit']['text'] as $commit)
{
$linkCommits[] = div(a
(
set('data-app', 'devops'),
$canViewRepo ? set('href', $this->createLink('repo', 'revision', "repoID={$commit->repo}&objectID=0&revision={$commit->revision}")) : null,
"{$commit->comment}"
));