2012-10-15 21:19:17 +02:00
|
|
|
%dl
|
2013-02-08 19:16:06 +01:00
|
|
|
%dt= t('.description') + ':'
|
2012-10-09 02:31:10 +02:00
|
|
|
%dd=h group.description
|
2009-02-06 21:18:20 +01:00
|
|
|
- if group.is_a?(Ordergroup) and (@current_user.role_admin? or @current_user.role_finance?)
|
2013-02-08 19:16:06 +01:00
|
|
|
%dt= t('.contact') + ':'
|
2012-10-09 02:31:10 +02:00
|
|
|
%dd=h group.contact
|
2013-02-08 19:16:06 +01:00
|
|
|
%dt= t('.address') + ':'
|
2012-10-09 02:31:10 +02:00
|
|
|
%dd= link_to_gmaps group.contact_address
|
2013-02-08 19:16:06 +01:00
|
|
|
%dt= t('.access') + ':'
|
2012-10-09 02:31:10 +02:00
|
|
|
%dd= format_roles(group)
|
2013-02-08 19:16:06 +01:00
|
|
|
%dt= t('.members') + ':'
|
2012-10-09 02:31:10 +02:00
|
|
|
%dd
|
|
|
|
- members = group.users
|
|
|
|
= "(#{members.size})"
|
2013-09-20 22:40:13 +02:00
|
|
|
= members.collect{|u| show_user(u)}.join(", ")
|
2013-06-22 18:14:11 +02:00
|
|
|
- unless group.is_a?(Workgroup)
|
2013-02-08 19:16:06 +01:00
|
|
|
%dt= t '.apple_limit'
|
|
|
|
%dd= group.ignore_apple_restriction ? t('.deactivated') : t('.activated')
|