diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-10 20:11:34 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-10 20:11:34 +0300 |
commit | 46031d63cd085e392d5c3f406404cf7752a75561 (patch) | |
tree | 8a0fa3a26bdb05f16eb846533eb1de08f674f1d7 /app/views/admin/users/projects.html.haml | |
parent | 28b0ed33cf968ca39d485de3e2777564dc1c9724 (diff) |
[skip ci] Convert panel related class names to card
Diffstat (limited to 'app/views/admin/users/projects.html.haml')
-rw-r--r-- | app/views/admin/users/projects.html.haml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/admin/users/projects.html.haml b/app/views/admin/users/projects.html.haml index d22cc38a2a1..245b9f22f01 100644 --- a/app/views/admin/users/projects.html.haml +++ b/app/views/admin/users/projects.html.haml @@ -2,8 +2,8 @@ = render 'admin/users/head' - if @user.groups.any? - .panel.panel-default - .panel-heading Group projects + .card + .card-header Group projects %ul.well-list - @user.group_members.includes(:source).each do |group_member| - group = group_member.group @@ -26,8 +26,8 @@ .col-md-6 - .panel.panel-default - .panel-heading Joined projects (#{@joined_projects.count}) + .card + .card-header Joined projects (#{@joined_projects.count}) %ul.well-list - @joined_projects.sort_by(&:full_name).each do |project| - member = project.team.find_member(@user.id) |