summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-10-02 09:32:46 +0100
committerFilipa Lacerda <filipa@gitlab.com>2017-10-02 09:32:46 +0100
commit5a451215c826efeaba1328bfd406c9f5179f6885 (patch)
tree7a965f62d96a4b2736c9e249e6da26ea792204c2 /app/views
parent147c46cca195f13ef10ec8fc2db160a833121914 (diff)
downloadgitlab-ce-5a451215c826efeaba1328bfd406c9f5179f6885.tar.gz
Removes auto devops callout from repo editor view
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/tree/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/tree/show.html.haml b/app/views/projects/tree/show.html.haml
index f819f2addaa..0cc6674842a 100644
--- a/app/views/projects/tree/show.html.haml
+++ b/app/views/projects/tree/show.html.haml
@@ -12,7 +12,7 @@
= webpack_bundle_tag 'repo'
%div{ class: [container_class, ("limit-container-width" unless fluid_layout)] }
- - if show_auto_devops_callout?(@project)
+ - if show_auto_devops_callout?(@project) && !show_new_repo?
= render 'shared/auto_devops_callout'
= render 'projects/last_push'
= render 'projects/files', commit: @last_commit, project: @project, ref: @ref, content_url: project_tree_path(@project, @id)