Commit 474e4fd9 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Fix admin user projects table

parent cbbe6d5d
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* Well styled list * Well styled list
* *
*/ */
.card.card-body-list { .card-body-list {
position: relative; position: relative;
margin: 0; margin: 0;
padding: 0; padding: 0;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
- if @user.groups.any? - if @user.groups.any?
.card .card
.card-header Group projects .card-header Group projects
%ul.well-list %ul.card-body-list
- @user.group_members.includes(:source).each do |group_member| - @user.group_members.includes(:source).each do |group_member|
- group = group_member.group - group = group_member.group
%li.group_member %li.group_member
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
.col-md-6 .col-md-6
.card .card
.card-header Joined projects (#{@joined_projects.count}) .card-header Joined projects (#{@joined_projects.count})
%ul.well-list %ul.card-body-list
- @joined_projects.sort_by(&:full_name).each do |project| - @joined_projects.sort_by(&:full_name).each do |project|
- member = project.team.find_member(@user.id) - member = project.team.find_member(@user.id)
%li.project_member %li.project_member
......
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