2009-01-29 01:57:51 +01:00
|
|
|
= pagination_links_remote @orders, :params => {:sort => params[:sort]}
|
|
|
|
%table.list{:style => "width: 100%"}
|
|
|
|
%thead
|
|
|
|
%tr
|
2012-04-16 08:48:01 +02:00
|
|
|
%th[sort_td_class_helper("supplier")]
|
2009-03-22 13:56:54 +01:00
|
|
|
= sort_link_helper "Lieferantin", "supplier"
|
2009-01-29 01:57:51 +01:00
|
|
|
%th Start
|
2012-04-16 08:48:01 +02:00
|
|
|
%th[sort_td_class_helper("ends")]
|
2009-01-29 01:57:51 +01:00
|
|
|
= sort_link_helper "Ende", "ends"
|
|
|
|
%th Status
|
|
|
|
%th{:colspan => "2"}
|
|
|
|
%tbody
|
|
|
|
- @orders.each do |order|
|
|
|
|
%tr{:class => cycle('even', 'odd', :name => 'orders')}
|
2009-02-05 16:40:02 +01:00
|
|
|
%td=h order.name
|
2009-01-29 01:57:51 +01:00
|
|
|
%td=h format_time(order.starts)
|
|
|
|
%td=h format_time(order.ends)
|
|
|
|
%td= order.state
|
|
|
|
%td= link_to "Anzeigen", order
|