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
Léo-Paul Géneau
gitlab-ce
Commits
911f6eb1
Commit
911f6eb1
authored
Jan 19, 2013
by
Andrey Kumanyaev
Committed by
Dmitriy Zaporozhets
Jan 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge into public
parent
7d3efec7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
0 deletions
+45
-0
app/views/dashboard/_teams.html.haml
app/views/dashboard/_teams.html.haml
+23
-0
app/views/layouts/user_team.html.haml
app/views/layouts/user_team.html.haml
+22
-0
No files found.
app/views/dashboard/_teams.html.haml
0 → 100644
View file @
911f6eb1
.teams_box
%h5
.title
My Teams
%small
(
#{
teams
.
count
}
)
%span
.right
=
link_to
new_team_path
,
class:
"btn very_small info"
do
%i
.icon-plus
New Team
%span
.right
=
link_to
teams_path
,
class:
"btn very_small info"
do
%i
.icon-user
All Teams
%ul
.well-list
-
teams
.
each
do
|
team
|
%li
=
link_to
team_path
(
id:
team
.
path
),
class:
dom_class
(
team
)
do
%strong
.well-title
=
truncate
(
team
.
name
,
length:
35
)
%span
.arrow
→
%span
.last_activity
%strong
Projects:
%span
=
current_user
.
authorized_projects
.
in_team
(
team
).
count
app/views/layouts/user_team.html.haml
0 → 100644
View file @
911f6eb1
!!! 5
%html
{
lang:
"en"
}
=
render
"layouts/head"
,
title:
"
#{
@user_team
.
name
}
"
%body
{
class:
"#{app_theme} application"
}
=
render
"layouts/flash"
=
render
"layouts/head_panel"
,
title:
"
#{
@user_team
.
name
}
"
.container
%ul
.main_menu
=
nav_link
(
path:
'teams#show'
,
html_options:
{
class:
'home'
})
do
=
link_to
"Home"
,
team_path
(
@user_team
),
title:
"Home"
=
nav_link
(
path:
'teams#issues'
)
do
=
link_to
issues_team_path
(
@user_team
)
do
Issues
%span
.count
=
Issue
.
opened
.
of_user_team
(
@user_team
).
count
=
nav_link
(
path:
'teams#merge_requests'
)
do
=
link_to
merge_requests_team_path
(
@user_team
)
do
Merge Requests
%span
.count
=
MergeRequest
.
opened
.
of_user_team
(
@user_team
).
count
=
nav_link
(
path:
'teams#search'
)
do
=
link_to
"Search"
,
search_team_path
(
@user_team
)
.content
=
yield
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