diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2017-05-05 23:15:04 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2017-05-05 23:15:04 -0500 |
commit | 5e0e3971b8c396c03375404c98874d9c18221668 (patch) | |
tree | 0f864966de08ba6962343ce13a9f796f6869ccd2 /app/views/dashboard/groups | |
parent | 265736052906fefc5ff57c3958158b1f563c2a9e (diff) | |
download | gitlab-ce-5e0e3971b8c396c03375404c98874d9c18221668.tar.gz |
List groups with basic details
- Adds Groups component
- Adds GroupItem component
Diffstat (limited to 'app/views/dashboard/groups')
-rw-r--r-- | app/views/dashboard/groups/_groups.html.haml | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/app/views/dashboard/groups/_groups.html.haml b/app/views/dashboard/groups/_groups.html.haml index 9e19b6bc347..e7a5fa8ba32 100644 --- a/app/views/dashboard/groups/_groups.html.haml +++ b/app/views/dashboard/groups/_groups.html.haml @@ -1,7 +1 @@ -.js-groups-list-holder{ data: { endpoint: dashboard_groups_path(format: :json) } } - %ul.content-list - - @groups.each do |group| - - group_member = group.group_members.find_by(user_id: current_user) - = render 'shared/groups/group', group: group_member.group, group_member: group_member - - = paginate @groups, theme: 'gitlab' +.js-groups-list-holder#dashboard-group-app{ data: { endpoint: dashboard_groups_path(format: :json) } } |