Commit 29158ea38c74f23ff570c6ac4c90725624cb0dcd
1 parent
a9d224d3
Exists in
master
and in
4 other branches
Issue #123
Showing
1 changed file
with
9 additions
and
4 deletions
Show diff stats
app/views/projects/index.html.haml
1 | -%div{:class => "tile", :style => view_mode_style("tile")} | ||
2 | - = render "tile" | ||
3 | -%div{:class => "list", :style => view_mode_style("list")} | ||
4 | - = render "list" | 1 | +- unless @projects.empty? |
2 | + %div{:class => "tile", :style => view_mode_style("tile")} | ||
3 | + = render "tile" | ||
4 | + %div{:class => "list", :style => view_mode_style("list")} | ||
5 | + = render "list" | ||
6 | +- else | ||
7 | + %center.prepend-top | ||
8 | + %h2 | ||
9 | + %cite Nothing here |