76aad9b76e
Make the following changes to deal with new behavior in Rails 4.1.2: * Use nested resources to avoid slashes in arguments to path helpers.
23 lines
638 B
Text
23 lines
638 B
Text
= 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 namespace_project_commits_path(@project.namespace, @project, @ref, {format: :atom, private_token: current_user.private_token}), title: "Feed", class: 'btn' do
|
|
%i.fa.fa-rss
|
|
Commits feed
|
|
|
|
%ul.breadcrumb.repo-breadcrumb
|
|
= commits_breadcrumbs
|
|
|
|
%div{id: dom_id(@project)}
|
|
#commits-list= render "commits", project: @project
|
|
.clear
|
|
= spinner
|
|
|
|
- if @commits.count == @limit
|
|
:javascript
|
|
CommitsList.init("#{@ref}", #{@limit});
|
|
|