24 lines
502 B
Text
24 lines
502 B
Text
= render "head"
|
|
|
|
- if params[:path]
|
|
%ul.breadcrumb
|
|
%li
|
|
= link_to project_commits_path(@project) do
|
|
= @project.code
|
|
%span.divider
|
|
\/
|
|
%li
|
|
%a{:href => "#"}= params[:path].split("/").join(" / ")
|
|
|
|
%div{:id => dom_id(@project)}
|
|
#commits_list= render "commits"
|
|
.clear
|
|
.loading{ :style => "display:none;"}
|
|
%center= image_tag "ajax-loader.gif"
|
|
|
|
- if @commits.count == @limit
|
|
:javascript
|
|
$(function(){
|
|
CommitsList.init("#{@ref}", #{@limit});
|
|
});
|
|
|