Moved 'shared' partial into shared-folder. Easer to maintain.
This commit is contained in:
parent
190a777278
commit
288566f000
4 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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?
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
- title _("Manage orders")
|
- title "Bestellungen verwalten"
|
||||||
|
|
||||||
- if @current_user.role_orders?
|
- if @current_user.role_orders?
|
||||||
%p
|
%p
|
||||||
|
|
Loading…
Reference in a new issue