diff --git a/module/block/view/systemmodeswitch.html.php b/module/block/view/systemmodeswitch.html.php index 62db595198..7b42fac74a 100644 --- a/module/block/view/systemmodeswitch.html.php +++ b/module/block/view/systemmodeswitch.html.php @@ -11,6 +11,7 @@ #selectProgramModal .modal-header {border-bottom: 0;} #selectProgramModal .modal-header h4.modal-title {font-weight: 700;} #selectProgramModal .modal-dialog {width: 550px;} +.modal-body {padding: 20px;} #selectProgramModal .modal-footer {border-top: 0px; text-align: center;} .block-guide .tab-pane .mode-switch .mode-block:nth-child(1) {padding-bottom: 18px;} diff --git a/module/job/model.php b/module/job/model.php index 7bae1cf900..e8a0c8b4b4 100644 --- a/module/job/model.php +++ b/module/job/model.php @@ -312,7 +312,7 @@ class jobModel extends model $pipeline = $this->loadModel('gitlab')->apiGetPipeline($repo->serviceHost, $repo->serviceProject, $this->post->reference); if(!is_array($pipeline) or empty($pipeline)) { - dao::$errors['repo'] = $this->lang->job->engineTips->error; + dao::$errors['gitlabRepo'] = $this->lang->job->engineTips->error; return false; } }