Improve project team page usability
This commit is contained in:
parent
c5add8fe55
commit
a28bc409fc
3 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
.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
|
||||
|
|
Loading…
Reference in a new issue