BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
11b7b93c
Commit
11b7b93c
authored
Jan 24, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move team navs to upper nav
parent
b5dd9e67
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
19 deletions
+18
-19
user_team.html.haml
app/views/layouts/user_team.html.haml
+18
-0
_team_head.html.haml
app/views/teams/_team_head.html.haml
+0
-19
No files found.
app/views/layouts/user_team.html.haml
View file @
11b7b93c
...
@@ -8,15 +8,33 @@
...
@@ -8,15 +8,33 @@
%ul
.main_menu
%ul
.main_menu
=
nav_link
(
path:
'teams#show'
,
html_options:
{
class:
'home'
})
do
=
nav_link
(
path:
'teams#show'
,
html_options:
{
class:
'home'
})
do
=
link_to
"Home"
,
team_path
(
@team
),
title:
"Home"
=
link_to
"Home"
,
team_path
(
@team
),
title:
"Home"
=
nav_link
(
path:
'teams#issues'
)
do
=
nav_link
(
path:
'teams#issues'
)
do
=
link_to
issues_team_path
(
@team
)
do
=
link_to
issues_team_path
(
@team
)
do
Issues
Issues
%span
.count
=
Issue
.
opened
.
of_user_team
(
@team
).
count
%span
.count
=
Issue
.
opened
.
of_user_team
(
@team
).
count
=
nav_link
(
path:
'teams#merge_requests'
)
do
=
nav_link
(
path:
'teams#merge_requests'
)
do
=
link_to
merge_requests_team_path
(
@team
)
do
=
link_to
merge_requests_team_path
(
@team
)
do
Merge Requests
Merge Requests
%span
.count
=
MergeRequest
.
opened
.
of_user_team
(
@team
).
count
%span
.count
=
MergeRequest
.
opened
.
of_user_team
(
@team
).
count
=
nav_link
(
path:
'teams#search'
)
do
=
nav_link
(
path:
'teams#search'
)
do
=
link_to
"Search"
,
search_team_path
(
@team
)
=
link_to
"Search"
,
search_team_path
(
@team
)
=
nav_link
(
controller:
[
:members
])
do
=
link_to
team_members_path
(
@team
),
class:
"team-tab tab"
do
Members
-
if
can?
current_user
,
:admin_user_team
,
@team
=
nav_link
(
controller:
[
:projects
])
do
=
link_to
team_projects_path
(
@team
),
class:
"team-tab tab"
do
%i
.icon-briefcase
Projects
=
nav_link
(
path:
'teams#edit'
)
do
=
link_to
edit_team_path
(
@team
),
class:
"stat-tab tab "
do
%i
.icon-edit
Edit Team
.content
=
yield
.content
=
yield
app/views/teams/_team_head.html.haml
View file @
11b7b93c
%ul
.nav.nav-tabs
=
nav_link
(
path:
'teams#show'
)
do
=
link_to
team_path
(
@team
),
class:
"activities-tab tab"
do
%i
.icon-home
Show
=
nav_link
(
controller:
[
:members
])
do
=
link_to
team_members_path
(
@team
),
class:
"team-tab tab"
do
%i
.icon-user
Members
=
nav_link
(
controller:
[
:projects
])
do
=
link_to
team_projects_path
(
@team
),
class:
"team-tab tab"
do
%i
.icon-briefcase
Projects
-
if
can?
current_user
,
:admin_user_team
,
@team
=
nav_link
(
path:
'teams#edit'
,
html_options:
{
class:
'right'
})
do
=
link_to
edit_team_path
(
@team
),
class:
"stat-tab tab "
do
%i
.icon-edit
Edit Team
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