Commit cf1416fad736763c8b44e464dcda7c63173551a6

Authored by Dmitriy Zaporozhets
1 parent be7eb8e3

Show both Private and Public labels on project show page

app/assets/stylesheets/sections/projects.scss
... ... @@ -30,7 +30,7 @@
30 30 float: right;
31 31 }
32 32 .project-home-extra {
33   - margin-top: 20px;
  33 + margin-top: 15px;
34 34  
35 35 .project-home-desc {
36 36 float: left;
... ...
app/views/projects/show.html.haml
... ... @@ -5,6 +5,9 @@
5 5 = @project.name_with_namespace
6 6 - if @project.public
7 7 %span.public-label Public
  8 + - else
  9 + %span.public-label Private
  10 +
8 11 .span8
9 12 .project-home-dropdown
10 13 = render "dropdown"
... ...