Merge branch 'cyy_bug' into 'master'

* Modify job edit error tip.

See merge request easycorp/zentaopms!6689
This commit is contained in:
王怡栋
2023-01-05 02:55:34 +00:00
2 changed files with 2 additions and 1 deletions
@@ -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;}
<?php if(common::checkNotCN()):?>
.block-guide .tab-pane .mode-switch .mode-block:nth-child(1) {padding-bottom: 18px;}
+1 -1
View File
@@ -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;
}
}