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
a28bc409
Commit
a28bc409
authored
Jul 31, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve project team page usability
parent
c5add8fe
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
_group_members.html.haml
app/views/projects/team_members/_group_members.html.haml
+2
-2
_team.html.haml
app/views/projects/team_members/_team.html.haml
+2
-2
index.html.haml
app/views/projects/team_members/index.html.haml
+1
-1
No files found.
app/views/projects/team_members/_group_members.html.haml
View file @
a28bc409
.ui-box
.title
%strong
#{
@group
.
name
}
Group
members (
#{
@group
.
users_groups
.
count
}
)
%strong
#{
@group
.
name
}
group
members (
#{
@group
.
users_groups
.
count
}
)
.pull-right
=
link_to
members_group_path
(
@group
),
class:
'btn btn-small'
do
%i
.icon-edit
...
...
app/views/projects/team_members/_team.html.haml
View file @
a28bc409
...
...
@@ -2,8 +2,8 @@
-
can_admin_project
=
(
can?
current_user
,
:admin_project
,
@project
)
.ui-box
.title
%strong
#{
@project
.
name
}
Project
members (
#{
members
.
count
}
)
%strong
#{
@project
.
name
}
project
members (
#{
members
.
count
}
)
%ul
.well-list
-
members
.
each
do
|
team_member
|
=
render
'team_member'
,
member:
team_member
,
current_user_can_admin_project:
can_admin_project
app/views/projects/team_members/index.html.haml
View file @
a28bc409
...
...
@@ -11,6 +11,6 @@
%p
.light
Read more about project permissions
%strong
=
link_to
"here"
,
help_permissions_path
,
class:
"vlink"
=
render
"team"
,
members:
@users_projects
-
if
@group
=
render
"group_members"
=
render
"team"
,
members:
@users_projects
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