foodsoft/app/views/foodcoop/_workgroup.html.haml
Benjamin Meichsner 549c03f223 Updated workgroups page.
* Make use of render :collection helper.
* Translated some links.
2009-03-23 10:57:41 +01:00

14 lines
640 B
Text

.single_column{:style => "width:55em"}
.box_title
%h2= workgroup.name
.column_content
= render :partial => 'shared/group', :locals => { :group => workgroup }
%p
= link_to "Alle Aufgaben zeigen", :controller => "tasks", :action => "workgroup", :id => workgroup
|
= link_to "Mitgliedern eine Nachricht schicken", :controller => 'messages', :action => 'group', :id => workgroup
- if workgroup.member?(@current_user)
|
= link_to "Gruppe bearbeiten", :action => "edit_group", :id => workgroup
|
= link_to "Mitglieder bearbeiten", :action => "memberships", :id => workgroup