gitlab-org--gitlab-foss/app/views/projects/index.html.haml

20 lines
411 B
Text
Raw Normal View History

2012-01-28 09:47:55 -05:00
%h3
Projects
%small= "( #{current_user.projects.count} )"
2012-01-27 17:51:02 -05:00
%hr
- unless @projects.empty?
%div.tile= render "tile"
2012-01-27 17:51:02 -05:00
-# If projects requris paging
-# We add ajax loader & init script
- if @projects.count == @limit
.loading{ :style => "display:none;"}
%center= image_tag "ajax-loader.gif"
2011-12-20 01:29:14 -05:00
2012-01-27 17:51:02 -05:00
:javascript
$(function(){
ProjectsList.init(16);
});
- else
%h2 Nothing here