diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-09-05 14:35:31 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-09-05 14:35:31 +0300 |
commit | 2f744003141ec0964af3bfe84c8cfbc56ee859c0 (patch) | |
tree | 7075fd31782193c286e890e49ef876aca88113da /app/views/projects/pipelines/index.html.haml | |
parent | 8eec09249cf682bf04562ab635209e7a57c36ce7 (diff) |
Properly decide when to show Auto DevOps banner
- Only if user can manage project,
- When Auto DevOps is not enabled,
- When project configuration is set to implicit
Diffstat (limited to 'app/views/projects/pipelines/index.html.haml')
-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 a7c53ad48f4..7a0c51875bc 100644 --- a/app/views/projects/pipelines/index.html.haml +++ b/app/views/projects/pipelines/index.html.haml @@ -3,7 +3,7 @@ = render "projects/pipelines/head" %div{ 'class' => container_class } - -if show_callout?('auto_devops_settings_dismissed') + - if show_auto_devops_callout?(@project) = render 'shared/auto_devops_callout' #pipelines-list-vue{ data: { endpoint: project_pipelines_path(@project, format: :json), |