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
0
Merge Requests
0
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
iv
gitlab-ce
Commits
f4d9059b
Commit
f4d9059b
authored
Dec 09, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show project with namespace in feeds
parent
8a08fdcd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
app/assets/stylesheets/gitlab_bootstrap/common.scss
app/assets/stylesheets/gitlab_bootstrap/common.scss
+1
-0
app/helpers/projects_helper.rb
app/helpers/projects_helper.rb
+10
-2
app/views/dashboard/_groups.html.haml
app/views/dashboard/_groups.html.haml
+1
-1
No files found.
app/assets/stylesheets/gitlab_bootstrap/common.scss
View file @
f4d9059b
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
.borders
{
border
:
1px
solid
#ccc
;
@include
shade
;
}
.borders
{
border
:
1px
solid
#ccc
;
@include
shade
;
}
.hint
{
font-style
:
italic
;
color
:
#999
;
}
.hint
{
font-style
:
italic
;
color
:
#999
;
}
.light
{
color
:
#888
}
.light
{
color
:
#888
}
.tiny
{
font-weight
:
normal
}
/** PILLS & TABS**/
/** PILLS & TABS**/
.nav-pills
a
:hover
{
background-color
:
#888
;
}
.nav-pills
a
:hover
{
background-color
:
#888
;
}
...
...
app/helpers/projects_helper.rb
View file @
f4d9059b
...
@@ -8,11 +8,19 @@ module ProjectsHelper
...
@@ -8,11 +8,19 @@ module ProjectsHelper
end
end
def
link_to_project
project
def
link_to_project
project
link_to
project
.
name
,
project
link_to
project
do
title
=
content_tag
(
:strong
,
project
.
name
)
if
project
.
namespace
namespace
=
content_tag
(
:span
,
"
#{
project
.
namespace
.
human_name
}
/ "
,
class:
'tiny'
)
title
=
namespace
+
title
end
title
end
end
end
def
tm_path
team_member
def
tm_path
team_member
project_team_member_path
(
@project
,
team_member
)
project_team_member_path
(
@project
,
team_member
)
end
end
end
end
app/views/dashboard/_groups.html.haml
View file @
f4d9059b
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
-
groups
.
each
do
|
group
|
-
groups
.
each
do
|
group
|
%li
.wll
%li
.wll
=
link_to
group_path
(
id:
group
.
path
),
class:
dom_class
(
group
)
do
=
link_to
group_path
(
id:
group
.
path
),
class:
dom_class
(
group
)
do
%strong
.group_name
=
truncate
(
group
.
name
,
length:
2
5
)
%strong
.group_name
=
truncate
(
group
.
name
,
length:
3
5
)
%span
.arrow
%span
.arrow
→
→
%span
.last_activity
%span
.last_activity
...
...
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