2009-01-15 12:14:01 +01:00
|
|
|
%table
|
|
|
|
%tr
|
|
|
|
%td Beschreibung:
|
|
|
|
%td=h group.description
|
2009-02-02 16:35:43 +01:00
|
|
|
- if @current_user.role_admin? or @current_user.role_finance?
|
|
|
|
%tr
|
|
|
|
%td Kontakt:
|
|
|
|
%td=h group.contact
|
|
|
|
%tr
|
|
|
|
%td Adresse:
|
|
|
|
%td= link_to_gmaps group.contact_address
|
2009-01-15 12:14:01 +01:00
|
|
|
%tr
|
|
|
|
%td Gruppe hat Zugriff auf:
|
2009-02-02 16:35:43 +01:00
|
|
|
%td= format_roles(group)
|
2009-01-15 12:14:01 +01:00
|
|
|
%tr
|
|
|
|
%td Mitglieder:
|
|
|
|
%td
|
|
|
|
- members = group.users
|
|
|
|
= "(#{members.size})"
|
|
|
|
= members.collect(&:nick).join(", ")
|
|
|
|
- if group.is_a?(Workgroup)
|
|
|
|
%tr
|
|
|
|
%td wöchentlicher Job:
|
|
|
|
%td
|
|
|
|
- if group.weekly_task
|
|
|
|
=h "#{group.task_name} am #{weekday(group.weekday)}"
|
|
|
|
- else
|
|
|
|
kein wöchentlicher Job definiert
|