+ Add data-app attribute for devops.
This commit is contained in:
@@ -648,9 +648,10 @@ class repoModel extends model
|
||||
if($this->checkPriv($repo))
|
||||
{
|
||||
$repoItem = array();
|
||||
$repoItem['id'] = $repo->id;
|
||||
$repoItem['text'] = $repo->name;
|
||||
$repoItem['keys'] = zget(common::convert2Pinyin(array($repo->name)), $repo->name, '');
|
||||
$repoItem['id'] = $repo->id;
|
||||
$repoItem['text'] = $repo->name;
|
||||
$repoItem['keys'] = zget(common::convert2Pinyin(array($repo->name)), $repo->name, '');
|
||||
$repoItem['data-app'] = $this->app->tab;
|
||||
|
||||
$repoProducts = explode(',', $repo->product);
|
||||
$repoProducts = array_filter($repoProducts);
|
||||
|
||||
Reference in New Issue
Block a user