* Add gitlab project,edit gitlab project page

This commit is contained in:
zenggang
2023-11-07 06:29:05 +00:00
parent 82ca54d58c
commit d00cb423a3
5 changed files with 170 additions and 1 deletions
+5 -1
View File
@@ -806,7 +806,11 @@ class gitlab extends control
$namespaces = array();
foreach($namespacesList as $namespace)
{
if($namespace->kind == 'user' and $namespace->path == $user->username) $namespaces[$namespace->id] = $namespace->path;
if($namespace->kind == 'user' and $namespace->path == $user->username)
{
$namespaces[$namespace->id] = $namespace->path;
$this->view->defaultSpace = $namespace->id;
}
if($namespace->kind == 'group') $namespaces[$namespace->id] = $namespace->path;
}