Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e90277f9
Commit
e90277f9
authored
Mar 07, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
show project description on public area
parent
7c408960
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
13 deletions
+29
-13
app/assets/stylesheets/gitlab_bootstrap/common.scss
app/assets/stylesheets/gitlab_bootstrap/common.scss
+1
-0
app/assets/stylesheets/sections/projects.scss
app/assets/stylesheets/sections/projects.scss
+13
-0
app/views/public/projects/index.html.haml
app/views/public/projects/index.html.haml
+15
-13
No files found.
app/assets/stylesheets/gitlab_bootstrap/common.scss
View file @
e90277f9
...
@@ -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
}
...
...
app/assets/stylesheets/sections/projects.scss
View file @
e90277f9
...
@@ -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
;
}
}
}
app/views/public/projects/index.html.haml
View file @
e90277f9
%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
-
@projects
.
each
do
|
project
|
%ul
.unstyled
%li
.clearfix
-
@projects
.
each
do
|
project
|
%h5
%li
.clearfix
%i
.icon-share
%h5
=
project
.
name_with_namespace
%i
.icon-share
.pull-right
=
project
.
name_with_namespace
%pre
.dark.tiny
git clone
#{
project
.
http_url_to_repo
}
.pull-right
%pre
.dark.tiny
git clone
#{
project
.
http_url_to_repo
}
%p
.description
=
project
.
description
-
unless
@projects
.
present?
%h3
.nothing_here_message
No public projects
-
unless
@projects
.
present?
=
paginate
@projects
,
theme:
"admin"
%h3
.nothing_here_message
No public projects
=
paginate
@projects
,
theme:
"admin"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment