diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml index 0dfaba3e..ea6ce67b 100644 --- a/app/views/home/index.html.haml +++ b/app/views/home/index.html.haml @@ -29,7 +29,7 @@ - if @ordergroup // Current orders - = render :partial => 'ordering/currentOrders' + = render :partial => 'shared/open_orders' - unless @messages.empty? .box_title diff --git a/app/views/ordering/index.haml b/app/views/ordering/index.haml index 421798f8..2cd7ddac 100644 --- a/app/views/ordering/index.haml +++ b/app/views/ordering/index.haml @@ -21,7 +21,7 @@ .right_column{:style => "width:70%"} // open orders - = render :partial => "open_orders" + = render :partial => "shared/open_orders" // finished orders - unless Order.finished.empty? diff --git a/app/views/orders/index.haml b/app/views/orders/index.haml index f793994e..acad1cc8 100644 --- a/app/views/orders/index.haml +++ b/app/views/orders/index.haml @@ -1,4 +1,4 @@ -- title _("Manage orders") +- title "Bestellungen verwalten" - if @current_user.role_orders? %p diff --git a/app/views/ordering/_open_orders.html.haml b/app/views/shared/_open_orders.html.haml similarity index 100% rename from app/views/ordering/_open_orders.html.haml rename to app/views/shared/_open_orders.html.haml