summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbikebilly <fabio@gitlab.com>2017-09-18 19:31:37 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2017-09-19 15:12:54 +0200
commit584c949d07fcb405005ec053c5b0a288bd44cedd (patch)
treeb671120414b1286565c6537131f7073bd95dca0d
parenteb63eaa0f275c4dd8c563fac9d85993e20a9c039 (diff)
downloadgitlab-ce-584c949d07fcb405005ec053c5b0a288bd44cedd.tar.gz
Remove double div in MR
-rw-r--r--app/views/projects/merge_requests/index.html.haml7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/views/projects/merge_requests/index.html.haml b/app/views/projects/merge_requests/index.html.haml
index b257996e171..ccff5caf120 100644
--- a/app/views/projects/merge_requests/index.html.haml
+++ b/app/views/projects/merge_requests/index.html.haml
@@ -14,12 +14,11 @@
= 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