From cf1416fad736763c8b44e464dcda7c63173551a6 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Date: Mon, 21 Oct 2013 14:20:37 +0300 Subject: [PATCH] Show both Private and Public labels on project show page --- app/assets/stylesheets/sections/projects.scss | 2 +- app/views/projects/show.html.haml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/sections/projects.scss b/app/assets/stylesheets/sections/projects.scss index a0c57ab8480..0c218e6c80b 100644 --- a/app/assets/stylesheets/sections/projects.scss +++ b/app/assets/stylesheets/sections/projects.scss @@ -30,7 +30,7 @@ float: right; } .project-home-extra { - margin-top: 20px; + margin-top: 15px; .project-home-desc { float: left; diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml index fe06adc84fa..ba04ad02d1c 100644 --- a/app/views/projects/show.html.haml +++ b/app/views/projects/show.html.haml @@ -5,6 +5,9 @@ = @project.name_with_namespace - if @project.public %span.public-label Public + - else + %span.public-label Private + .span8 .project-home-dropdown = render "dropdown" -- 2.30.9