From 29158ea38c74f23ff570c6ac4c90725624cb0dcd Mon Sep 17 00:00:00 2001 From: gitlabhq Date: Sat, 15 Oct 2011 18:57:27 +0300 Subject: [PATCH] Issue #123 --- app/views/projects/index.html.haml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/app/views/projects/index.html.haml b/app/views/projects/index.html.haml index 22af6b75..888a72b6 100644 --- a/app/views/projects/index.html.haml +++ b/app/views/projects/index.html.haml @@ -1,4 +1,9 @@ -%div{:class => "tile", :style => view_mode_style("tile")} - = render "tile" -%div{:class => "list", :style => view_mode_style("list")} - = render "list" +- unless @projects.empty? + %div{:class => "tile", :style => view_mode_style("tile")} + = render "tile" + %div{:class => "list", :style => view_mode_style("list")} + = render "list" +- else + %center.prepend-top + %h2 + %cite Nothing here