Commit 0192903b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'fixes-new-layout' into 'master'

Fixes new layout

* fix empty project page
* fix commit -> builds page missing margin

See merge request !2440
parents 2f2aada3 cd2ddaaa
- page_title "Builds", "#{@commit.title} (#{@commit.short_id})", "Commits" - page_title "Builds", "#{@commit.title} (#{@commit.short_id})", "Commits"
= render "projects/commits/header_title" = render "projects/commits/header_title"
= render "commit_box" .prepend-top-default
= render "commit_box"
= render "ci_menu" = render "ci_menu"
= render "builds" = render "builds"
- @no_container = true
= content_for :flash_message do = content_for :flash_message do
- if current_user && can?(current_user, :download_code, @project) - if current_user && can?(current_user, :download_code, @project)
= render 'shared/no_ssh' = render 'shared/no_ssh'
...@@ -17,6 +19,7 @@ ...@@ -17,6 +19,7 @@
file to this project. file to this project.
- if can?(current_user, :download_code, @project) - if can?(current_user, :download_code, @project)
%div{ class: container_class }
.prepend-top-20 .prepend-top-20
.empty_wrapper .empty_wrapper
%h3.page-title-empty %h3.page-title-empty
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment