diff --git a/module/repo/ui/create.html.php b/module/repo/ui/create.html.php index d13bf80426..5cf6a14984 100644 --- a/module/repo/ui/create.html.php +++ b/module/repo/ui/create.html.php @@ -118,7 +118,7 @@ formPanel ), formRow ( - setClass('hide-service'), + ($config->isContainer || $config->inQuickon) ? setClass('hidden') : setClass('hide-service'), formGroup ( set::name("client"), diff --git a/module/repo/ui/edit.html.php b/module/repo/ui/edit.html.php index 57111818dd..d7b6a0833f 100644 --- a/module/repo/ui/edit.html.php +++ b/module/repo/ui/edit.html.php @@ -122,7 +122,7 @@ formPanel ), formRow ( - setClass('hide-service'), + ($config->isContainer || $config->inQuickon) ? setClass('hidden') : setClass('hide-service'), formGroup ( set::name("client"), diff --git a/module/repo/zen.php b/module/repo/zen.php index c940d513e7..81468313af 100644 --- a/module/repo/zen.php +++ b/module/repo/zen.php @@ -22,7 +22,14 @@ class repoZen extends repo */ protected function prepareCreate(form $formData, bool $isPipelineServer): object|false { - if(!$this->checkClient()) return false; + if($this->config->inContainer || $this->config->inQuickon) + { + $formData->data->client = $_POST['client'] = $this->post->SCM == 'Subversion' ? 'svn' : 'git'; + } + else + { + if(!$this->checkClient()) return false; + } if(!$this->checkConnection()) return false; $repo = $formData