correct html on project page

This commit is contained in:
Aleksei Kvitinskii 2011-11-06 20:48:21 +02:00
parent 81847a9335
commit 526752479d

View file

@ -1,18 +1,20 @@
- content_for(:body_class, "projects-page") - content_for(:body_class, "projects-page")
- content_for(:page_title) do - content_for(:page_title) do
.grid_4 .container_4
- if current_user.can_create_project? .grid_4
%a.grey-button.right{:href => new_project_path} Create new project - if current_user.can_create_project?
%h2.icon %a.grey-button.right{:href => new_project_path} Create new project
%span %h2.icon
Projects %span
Projects
- unless @projects.empty? %div.clear
%div{:class => "tile", :style => view_mode_style("tile")} - unless @projects.empty?
= render "tile" %div{:class => "tile", :style => view_mode_style("tile")}
%div{:class => "list", :style => view_mode_style("list")} = render "tile"
= render "list" %div{:class => "list", :style => view_mode_style("list")}
- else = render "list"
%center.prepend-top - else
%h2 %center.prepend-top
%cite Nothing here %h2
%cite Nothing here