summaryrefslogtreecommitdiff
path: root/app/views/projects/commits/show.html.haml
blob: 482a845558fccc3919ac8f0b2de7c68f7f5f9902 (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
25
= render "head"

.tree-ref-holder
  = render 'shared/ref_switcher', destination: 'commits'

- if current_user && current_user.private_token
  .commits-feed-holder.hidden-xs.hidden-sm
    = link_to project_commits_path(@project, @ref, {format: :atom, private_token: current_user.private_token}), title: "Feed", class: 'btn' do
      %i.icon-rss
      Commits feed

%ul.breadcrumb.repo-breadcrumb
  = commits_breadcrumbs
  %li.active
    commits

%div{id: dom_id(@project)}
  #commits-list= render "commits"
.clear
= spinner

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