index.html.haml 568 字节
Newer Older
G
gitlabhq 已提交
1
- content_for(:body_class, "projects-page")
2
- content_for(:page_title) do
A
Aleksei Kvitinskii 已提交
3 4 5 6 7 8 9
  .container_4
    .grid_4
      - if current_user.can_create_project?
        %a.grey-button.right{:href => new_project_path} Create new project
      %h2.icon  
        %span
        Projects
10

A
Aleksei Kvitinskii 已提交
11 12 13 14 15 16 17 18 19 20
    %div.clear
    - 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