Commit a28bc409 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Improve project team page usability

parent c5add8fe
.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
......
......@@ -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
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment