diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml index 0e7967f9..1d451125 100644 --- a/app/views/home/index.html.haml +++ b/app/views/home/index.html.haml @@ -32,10 +32,11 @@ = render :partial => 'shared/open_orders' // Stats - .box_title - %h2 Engagement Deiner Bestellgruppe - .column_content - = render "stats" + - if @ordergroup + .box_title + %h2 Engagement Deiner Bestellgruppe + .column_content + = render "stats" - unless @messages.empty? .box_title