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
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
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
app/views/projects/team_members/_group_members.html.haml
app/views/projects/team_members/_group_members.html.haml
+2
-2
app/views/projects/team_members/_team.html.haml
app/views/projects/team_members/_team.html.haml
+2
-2
app/views/projects/team_members/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