gitlabhq/app/views/projects/index.html.haml

21 lines
566 B
Plaintext
Raw Normal View History

2011-11-01 10:00:59 +01:00
- content_for(:body_class, "projects-page")
- content_for(:page_title) do
2011-11-06 19:48:21 +01:00
.container_4
.grid_4
- if current_user.can_create_project?
%a.grey-button.right{:href => new_project_path} Create new project
2011-11-15 09:34:30 +01:00
%h2.icon
2011-11-06 19:48:21 +01:00
%span
Projects
2011-11-06 19:48:21 +01:00
%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