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

18 lines
448 B
Plaintext
Raw Normal View History

- content_for(:page_title) do
2011-10-31 11:30:53 +01:00
.grid-4
%h2.icon
- if current_user.can_create_project?
2011-10-31 11:30:53 +01:00
%a.grey-button.right{:href => new_project_path} Create new project
%span
Projects
2011-10-15 17:57:27 +02:00
- unless @projects.empty?
%div{:class => "tile", :style => view_mode_style("tile")}
= render "tile"
%div{:class => "list", :style => view_mode_style("list")}
= render "list"
- else
2011-10-15 17:57:27 +02:00
%center.prepend-top
%h2
%cite Nothing here