Replaced IndexController by Home- and FoodcoopController. Some reorganizing in groups/memberships-logic (moved memberships out of admin-namespace).
This commit is contained in:
parent
fadc951208
commit
6ce6c2c75a
70 changed files with 553 additions and 934 deletions
6
app/views/shared/_workgroup_members.haml
Normal file
6
app/views/shared/_workgroup_members.haml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
- for group in Group.find :all, :conditions => "type != 'Ordergroup'"
|
||||
%h4= link_to_function group.name, "Element.toggle('group_#{group.id}')"
|
||||
%ul{:style => "display:none"}[group]
|
||||
- for user in group.users.find :all, :order => "nick"
|
||||
%li= user.nick + " (#{user.find_ordergroup.name if user.find_ordergroup})"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue