summaryrefslogtreecommitdiff
path: root/app/views/projects/project_members
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-09-08 10:45:53 +0100
committerPhil Hughes <me@iamphill.com>2016-09-13 08:44:59 +0100
commit7cca8ffe60f4cdc7ca012cf223c6d7855b928685 (patch)
tree9cb44f72b7e9a8a0e5c872f3c8e33ca4cc2c86bb /app/views/projects/project_members
parent2abbb0980f061d4297aab02f914c324c7fbe073b (diff)
downloadgitlab-ce-7cca8ffe60f4cdc7ca012cf223c6d7855b928685.tar.gz
Ruby update
Diffstat (limited to 'app/views/projects/project_members')
-rw-r--r--app/views/projects/project_members/_team.html.haml2
-rw-r--r--app/views/projects/project_members/index.html.haml4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/project_members/_team.html.haml b/app/views/projects/project_members/_team.html.haml
index d9799033e17..ff54035cfe1 100644
--- a/app/views/projects/project_members/_team.html.haml
+++ b/app/views/projects/project_members/_team.html.haml
@@ -2,7 +2,7 @@
.panel-heading
Users with access to
%strong #{@project.name}
- %span.badge= @members_size
+ %span.badge= @project_members.total_count
%ul.content-list
- members.each do |member|
= render 'shared/members/member', member: member
diff --git a/app/views/projects/project_members/index.html.haml b/app/views/projects/project_members/index.html.haml
index 86b2752cc0b..f566748e95a 100644
--- a/app/views/projects/project_members/index.html.haml
+++ b/app/views/projects/project_members/index.html.haml
@@ -25,5 +25,5 @@
- if @groups.size > 0
= render 'groups', groups: @groups
- = render 'team', members: @members
- = paginate @members, theme: "gitlab"
+ = render 'team', members: @project_members
+ = paginate @project_members, theme: "gitlab"