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

25 lines
464 B
Plaintext
Raw Normal View History

2012-02-06 20:32:04 +00:00
= render "head"
2011-11-01 20:11:24 +00:00
- if @path.present?
2012-01-26 23:46:32 +00:00
%ul.breadcrumb
%li
%span.arrow
2012-01-26 23:46:32 +00:00
= link_to project_commits_path(@project) do
= @project.name
%span.divider
2012-01-26 23:46:32 +00:00
\/
%li
%a{href: "#"}= @path.split("/").join(" / ")
2011-11-01 20:11:24 +00:00
%div{id: dom_id(@project)}
2011-11-05 12:26:06 +00:00
#commits_list= render "commits"
.clear
.loading{ style: "display:none;"}
2011-11-05 12:26:06 +00:00
- if @commits.count == @limit
:javascript
$(function(){
2012-02-12 21:52:27 +00:00
CommitsList.init("#{@ref}", #{@limit});
});