2012-02-06 15:32:04 -05:00
|
|
|
= render "head"
|
2011-11-01 16:11:24 -04:00
|
|
|
|
2011-12-12 12:22:01 -05:00
|
|
|
- if params[:path]
|
2012-01-26 18:46:32 -05:00
|
|
|
%ul.breadcrumb
|
|
|
|
%li
|
2012-05-31 17:10:52 -04:00
|
|
|
%span.arrow
|
2012-01-26 18:46:32 -05:00
|
|
|
= link_to project_commits_path(@project) do
|
2012-05-31 17:10:52 -04:00
|
|
|
= @project.name
|
2012-06-03 18:37:27 -04:00
|
|
|
%span.divider
|
2012-01-26 18:46:32 -05:00
|
|
|
\/
|
|
|
|
%li
|
|
|
|
%a{:href => "#"}= params[:path].split("/").join(" / ")
|
2011-11-01 16:11:24 -04:00
|
|
|
|
|
|
|
%div{:id => dom_id(@project)}
|
2011-11-05 08:26:06 -04:00
|
|
|
#commits_list= render "commits"
|
|
|
|
.clear
|
|
|
|
.loading{ :style => "display:none;"}
|
|
|
|
|
2011-11-27 03:36:28 -05:00
|
|
|
- if @commits.count == @limit
|
|
|
|
:javascript
|
|
|
|
$(function(){
|
2012-02-12 16:52:27 -05:00
|
|
|
CommitsList.init("#{@ref}", #{@limit});
|
2011-11-27 03:36:28 -05:00
|
|
|
});
|
2012-01-29 16:59:12 -05:00
|
|
|
|