From 08ce5f0ea27de49f160f30e876dff53c13568904 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Wed, 16 Mar 2022 09:21:13 +0800 Subject: [PATCH] * Modify repo list. --- module/repo/view/maintain.html.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/module/repo/view/maintain.html.php b/module/repo/view/maintain.html.php index 1f55476734..ee97e8ec15 100644 --- a/module/repo/view/maintain.html.php +++ b/module/repo/view/maintain.html.php @@ -36,19 +36,19 @@ id; ?> repo->scmList, $repo->SCM); ?> createLink('repo', 'browse', "repoID={$repo->id}&branchID=&objectID=$objectID"), $repo->name);?> - product)); + $productNames = ''; + $productList = explode(',', str_replace(' ', '', $repo->product)); if(isset($productList) and $productList[0]) { foreach($productList as $productID) { if(!isset($products[$productID])) continue; - echo ' ' . html::a($this->createLink('product', 'browse', "productID=$productID"), zget($products, $productID, $productID)); + $productNames .= ' ' . zget($products, $productID, $productID); } } ?> - + path; ?>