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

20 lines
419 B
Plaintext
Raw Normal View History

2012-01-28 14:47:55 +00:00
%h3
Projects
%small= "( #{current_user.projects.count} )"
2012-01-27 22:51:02 +00:00
%hr
- unless @projects.empty?
2012-02-12 21:52:27 +00:00
%div.content_list= render "tile"
2012-01-27 22:51:02 +00: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 06:29:14 +00:00
2012-01-27 22:51:02 +00:00
:javascript
$(function(){
2012-02-12 21:52:27 +00:00
Pager.init(#{@limit});
2012-01-27 22:51:02 +00:00
});
- else
%h2 Nothing here