diff options
author | bokebilly <fobio@gitlab.com> | 2017-09-17 00:15:18 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-09-19 15:12:54 +0200 |
commit | afc4c6b93badc535aacc884e9745b00b88195f01 (patch) | |
tree | 681d3de9700c6b1c59ad57d6ab3e14d41e2bbeaa | |
parent | 4c6c105909ea610eac760b05e66d9efc57cbb43c (diff) | |
download | gitlab-ce-afc4c6b93badc535aacc884e9745b00b88195f01.tar.gz |
Add banner in missing pages
-rw-r--r-- | app/views/projects/empty.html.haml | 4 | ||||
-rw-r--r-- | app/views/projects/merge_requests/index.html.haml | 6 |
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 |