Commit 526752479d7a85596259fdee6f55cdefbbc3c1d6
1 parent
81847a93
Exists in
master
and in
4 other branches
correct html on project page
Showing
1 changed file
with
17 additions
and
15 deletions
Show diff stats
app/views/projects/index.html.haml
1 | 1 | - content_for(:body_class, "projects-page") |
2 | 2 | - content_for(:page_title) do |
3 | - .grid_4 | |
4 | - - if current_user.can_create_project? | |
5 | - %a.grey-button.right{:href => new_project_path} Create new project | |
6 | - %h2.icon | |
7 | - %span | |
8 | - Projects | |
3 | + .container_4 | |
4 | + .grid_4 | |
5 | + - if current_user.can_create_project? | |
6 | + %a.grey-button.right{:href => new_project_path} Create new project | |
7 | + %h2.icon | |
8 | + %span | |
9 | + Projects | |
9 | 10 | |
10 | -- unless @projects.empty? | |
11 | - %div{:class => "tile", :style => view_mode_style("tile")} | |
12 | - = render "tile" | |
13 | - %div{:class => "list", :style => view_mode_style("list")} | |
14 | - = render "list" | |
15 | -- else | |
16 | - %center.prepend-top | |
17 | - %h2 | |
18 | - %cite Nothing here | |
11 | + %div.clear | |
12 | + - unless @projects.empty? | |
13 | + %div{:class => "tile", :style => view_mode_style("tile")} | |
14 | + = render "tile" | |
15 | + %div{:class => "list", :style => view_mode_style("list")} | |
16 | + = render "list" | |
17 | + - else | |
18 | + %center.prepend-top | |
19 | + %h2 | |
20 | + %cite Nothing here | ... | ... |