summaryrefslogtreecommitdiff
path: root/app/views/commits/index.html.haml
blob: 385b4357e4e0790bb6dcefdef705d60b097a5135 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
= render "head"

- if params[:path]
  %ul.breadcrumb
    %li
      %span.arrow
      = link_to project_commits_path(@project) do
        = @project.name
      %span.divider
        \/
    %li
      %a{:href => "#"}= params[:path].split("/").join(" / ")

%div{:id => dom_id(@project)}
  #commits_list= render "commits"
.clear
.loading{ :style => "display:none;"}

- if @commits.count == @limit
  :javascript
    $(function(){
      CommitsList.init("#{@ref}", #{@limit});
    });