diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-09-06 18:59:33 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-09-06 18:59:33 +0200 |
commit | 5941f3a7e8628e8792c9dbfad07f9b4d6ba7fb2e (patch) | |
tree | f7c7ebc889b07baac7fb597cfa796d20762cd139 /app/views/projects/pipelines | |
parent | 82ed2a0909823807f3ece2cb29bfc501293361a0 (diff) | |
download | gitlab-ce-5941f3a7e8628e8792c9dbfad07f9b4d6ba7fb2e.tar.gz |
Implement `Project#has_ci?`
Diffstat (limited to 'app/views/projects/pipelines')
-rw-r--r-- | app/views/projects/pipelines/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/pipelines/index.html.haml b/app/views/projects/pipelines/index.html.haml index 3ce20378038..579f681abaa 100644 --- a/app/views/projects/pipelines/index.html.haml +++ b/app/views/projects/pipelines/index.html.haml @@ -14,7 +14,7 @@ "finished-path" => project_pipelines_path(@project, scope: :finished), "branches-path" => project_pipelines_path(@project, scope: :branches), "tags-path" => project_pipelines_path(@project, scope: :tags), - "has-ci" => @repository.gitlab_ci_yml || @project.auto_devops_enabled?, + "has-ci" => @project.has_ci?, "ci-lint-path" => ci_lint_path } } = page_specific_javascript_bundle_tag('common_vue') |