Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-10-15 19:57:27 +0400
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-10-15 19:57:27 +0400
commit82f79d71ea5417a4ca61892770a68a3ea9beb648 (patch)
tree534095cd371300cbd735c65287f561160df72b6d /app
parent6ff7590a9fdaeeea7dbfac2eb45129d7411effaf (diff)
Issue #123
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/index.html.haml13
1 files changed, 9 insertions, 4 deletions
diff --git a/app/views/projects/index.html.haml b/app/views/projects/index.html.haml
index 22af6b7551a..888a72b6811 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