2012-02-06 20:32:04 +00:00
|
|
|
= render "head"
|
2011-11-01 20:11:24 +00:00
|
|
|
|
2014-06-14 16:02:16 +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
|
|
|
|
2012-08-10 22:07:50 +00:00
|
|
|
%div{id: dom_id(@project)}
|
2012-12-01 12:49:21 +00:00
|
|
|
#commits-list= render "commits"
|
2011-11-05 12:26:06 +00:00
|
|
|
.clear
|
2014-02-05 18:30:57 +00:00
|
|
|
= spinner
|
2011-11-05 12:26:06 +00:00
|
|
|
|
2011-11-27 08:36:28 +00:00
|
|
|
- if @commits.count == @limit
|
|
|
|
:javascript
|
2013-05-02 08:46:45 +00:00
|
|
|
CommitsList.init("#{@ref}", #{@limit});
|
2012-01-29 21:59:12 +00:00
|
|
|
|