48b6515c08
* Since s.b. started this already. I changed every string 'Lieferant' to 'Lieferantin' to give note on female existance in this world :-)
19 lines
No EOL
628 B
Text
19 lines
No EOL
628 B
Text
= pagination_links_remote @orders, :params => {:sort => params[:sort]}
|
|
%table.list{:style => "width: 100%"}
|
|
%thead
|
|
%tr
|
|
%th[sort_td_class_helper "supplier"]
|
|
= sort_link_helper "Lieferantin", "supplier"
|
|
%th Start
|
|
%th[sort_td_class_helper "ends"]
|
|
= sort_link_helper "Ende", "ends"
|
|
%th Status
|
|
%th{:colspan => "2"}
|
|
%tbody
|
|
- @orders.each do |order|
|
|
%tr{:class => cycle('even', 'odd', :name => 'orders')}
|
|
%td=h order.name
|
|
%td=h format_time(order.starts)
|
|
%td=h format_time(order.ends)
|
|
%td= order.state
|
|
%td= link_to "Anzeigen", order |