summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/projects/empty.html.haml4
-rw-r--r--app/views/projects/merge_requests/index.html.haml6
2 files changed, 8 insertions, 2 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml
index 5e980314307..21fbfb1197a 100644
--- a/app/views/projects/empty.html.haml
+++ b/app/views/projects/empty.html.haml
@@ -6,6 +6,10 @@
= render "projects/head"
= render "home_panel"
+%div{ 'class' => container_class }
+ - if show_auto_devops_callout?(@project)
+ = render 'shared/auto_devops_callout'
+
.row-content-block.second-block.center
%h3.page-title
The repository for this project is empty
diff --git a/app/views/projects/merge_requests/index.html.haml b/app/views/projects/merge_requests/index.html.haml
index 2c53891a92d..b257996e171 100644
--- a/app/views/projects/merge_requests/index.html.haml
+++ b/app/views/projects/merge_requests/index.html.haml
@@ -14,10 +14,12 @@
= render 'projects/last_push'
+%div{ class: container_class }
+ - if show_auto_devops_callout?(@project)
+ = render 'shared/auto_devops_callout'
+
- if @project.merge_requests.exists?
%div{ class: container_class }
- - if show_auto_devops_callout?(@project)
- = render 'shared/auto_devops_callout'
.top-area
= render 'shared/issuable/nav', type: :merge_requests
.nav-controls