From d9d800b41f2635212965f39f5c6ab4660299ca25 Mon Sep 17 00:00:00 2001 From: Benjamin Meichsner Date: Sun, 2 Aug 2009 20:04:54 +0200 Subject: [PATCH] Fixed bug in stats modul. Consider missing ordergroup. --- app/views/home/index.html.haml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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