diff options
author | bikebilly <fabio@gitlab.com> | 2017-09-18 19:20:12 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-09-19 15:12:54 +0200 |
commit | eb63eaa0f275c4dd8c563fac9d85993e20a9c039 (patch) | |
tree | 70fa5d3f9826e047fa7b7d68b8d2fb3be7e23773 | |
parent | afc4c6b93badc535aacc884e9745b00b88195f01 (diff) | |
download | gitlab-ce-eb63eaa0f275c4dd8c563fac9d85993e20a9c039.tar.gz |
Remove double div
-rw-r--r-- | app/views/projects/empty.html.haml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml index 21fbfb1197a..d5b83b53ebb 100644 --- a/app/views/projects/empty.html.haml +++ b/app/views/projects/empty.html.haml @@ -6,10 +6,6 @@ = 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 @@ -31,6 +27,8 @@ - if can?(current_user, :push_code, @project) %div{ class: container_class } + - if show_auto_devops_callout?(@project) + = render 'shared/auto_devops_callout' .prepend-top-20 .empty_wrapper %h3.page-title-empty |