2012-10-08 21:52:03 +02:00
|
|
|
.well.well-small
|
2013-02-08 19:16:06 +01:00
|
|
|
%h4= t '.title'
|
2012-10-08 21:52:03 +02:00
|
|
|
#groupMembers.accordion
|
|
|
|
- Workgroup.all.each do |workgroup|
|
|
|
|
.accordion-group
|
|
|
|
.accoridon-heading
|
|
|
|
= link_to workgroup.name, "#collapse#{workgroup.id}", data: {toggle: 'collapse', parent: '#groupMembers'}
|
|
|
|
%div{id: "collapse#{workgroup.id}", class: 'accordion-body collapse'}
|
|
|
|
.accordion-inner
|
|
|
|
%ul.unstyled
|
2013-09-22 02:15:35 +02:00
|
|
|
- workgroup.users.includes(:groups).natural_order.each do |user|
|
2012-10-08 21:52:03 +02:00
|
|
|
%li
|
2013-09-22 02:15:35 +02:00
|
|
|
= show_user(user)
|
2013-02-08 19:16:06 +01:00
|
|
|
%small (#{user.ordergroup.try(:name)})
|
2013-09-22 02:15:35 +02:00
|
|
|
|