Commit cc520189 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix layout for empty project

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 17d4b398
- @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