gitlab-org--gitlab-foss/app/views/projects/commits/show.html.haml

26 lines
613 B
Plaintext
Raw Normal View History

2012-02-06 20:32:04 +00:00
= render "head"
2011-11-01 20:11:24 +00:00
.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
2011-11-01 20:11:24 +00:00
%div{id: dom_id(@project)}
#commits-list= render "commits"
2011-11-05 12:26:06 +00:00
.clear
= spinner
2011-11-05 12:26:06 +00:00
- if @commits.count == @limit
:javascript
CommitsList.init("#{@ref}", #{@limit});