Commit e90277f9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

show project description on public area

parent 7c408960
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
.cgray { color:gray } .cgray { color:gray }
.cred { color:#D12F19 } .cred { color:#D12F19 }
.cgreen { color:#4a2 } .cgreen { color:#4a2 }
.cblue { color:#29A }
.cblack { color:#111 } .cblack { color:#111 }
.cdark { color:#444 } .cdark { color:#444 }
.cwhite { color:#fff!important } .cwhite { color:#fff!important }
......
...@@ -120,3 +120,16 @@ ul.nav.nav-projects-tabs { ...@@ -120,3 +120,16 @@ ul.nav.nav-projects-tabs {
.team_member_row form { .team_member_row form {
margin: 0px; margin: 0px;
} }
.public-projects {
li {
margin-top: 8px;
margin-bottom: 5px;
border-bottom: 1px solid #eee;
.description {
margin-left: 22px;
color: #aaa;
}
}
}
%h3.page_title %h3.page_title
Projects Projects (#{@projects.total_count})
%small with read-only access %small with read-only access
%hr %hr
%ul.unstyled .public-projects
%ul.unstyled
- @projects.each do |project| - @projects.each do |project|
%li.clearfix %li.clearfix
%h5 %h5
...@@ -11,8 +12,9 @@ ...@@ -11,8 +12,9 @@
= project.name_with_namespace = project.name_with_namespace
.pull-right .pull-right
%pre.dark.tiny git clone #{project.http_url_to_repo} %pre.dark.tiny git clone #{project.http_url_to_repo}
%p.description
= project.description
- unless @projects.present? - unless @projects.present?
%h3.nothing_here_message No public projects %h3.nothing_here_message No public projects
= paginate @projects, theme: "admin" = paginate @projects, theme: "admin"
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