Moved 'shared' partial into shared-folder. Easer to maintain.

This commit is contained in:
Benjamin Meichsner 2009-01-30 19:02:35 +01:00
parent 190a777278
commit 288566f000
4 changed files with 3 additions and 3 deletions

View file

@ -29,7 +29,7 @@
- if @ordergroup - if @ordergroup
// Current orders // Current orders
= render :partial => 'ordering/currentOrders' = render :partial => 'shared/open_orders'
- unless @messages.empty? - unless @messages.empty?
.box_title .box_title

View file

@ -21,7 +21,7 @@
.right_column{:style => "width:70%"} .right_column{:style => "width:70%"}
// open orders // open orders
= render :partial => "open_orders" = render :partial => "shared/open_orders"
// finished orders // finished orders
- unless Order.finished.empty? - unless Order.finished.empty?

View file

@ -1,4 +1,4 @@
- title _("Manage orders") - title "Bestellungen verwalten"
- if @current_user.role_orders? - if @current_user.role_orders?
%p %p