Added message-link and notes to new foodcoop/ordergroups page.

This commit is contained in:
Benjamin Meichsner 2009-04-20 14:33:24 +02:00
parent a3fbc2d37b
commit ecc0340a70
2 changed files with 3 additions and 2 deletions

View file

@ -11,13 +11,13 @@
%thead
%tr
%th Name
%th #Mitglieder
%th= "#Mitglieder"
%th Kontakt
%tbody
- for order_group in @order_groups
%tr{:class => cycle('even','odd', :name => 'order_group')}
%td=h order_group.name
%td= link_to h(order_group.name), {:controller => 'messages', :action => 'group', :id => order_group}, :title => "Bestellgruppe eine Nachricht schicken"
%th=h order_group.users.length
%td=h order_group.contact

View file

@ -10,6 +10,7 @@
= text_field_tag("query", params['query'], :size => 10 )
%label{:for => 'only_active'} Nur aktive:
= check_box_tag('only_active')
%small (mindestens einmal in den letzten 3 Monaten bestellt)
= observe_form 'sform', :frequency => 2, |
:before => "Element.show('loader')", |