2012-02-06 22:32:04 +02:00
|
|
|
= render "head"
|
2011-11-01 22:11:24 +02:00
|
|
|
|
2012-09-27 11:58:41 +03:00
|
|
|
- if @path.present?
|
2012-01-27 01:46:32 +02:00
|
|
|
%ul.breadcrumb
|
|
|
|
%li
|
2012-06-01 00:10:52 +03:00
|
|
|
%span.arrow
|
2012-01-27 01:46:32 +02:00
|
|
|
= link_to project_commits_path(@project) do
|
2012-06-01 00:10:52 +03:00
|
|
|
= @project.name
|
2012-06-04 01:37:27 +03:00
|
|
|
%span.divider
|
2012-01-27 01:46:32 +02:00
|
|
|
\/
|
|
|
|
%li
|
2012-09-27 09:49:00 +03:00
|
|
|
%a{href: "#"}= @path.split("/").join(" / ")
|
2011-11-01 22:11:24 +02:00
|
|
|
|
2012-08-10 18:07:50 -04:00
|
|
|
%div{id: dom_id(@project)}
|
2011-11-05 14:26:06 +02:00
|
|
|
#commits_list= render "commits"
|
|
|
|
.clear
|
2012-08-10 18:07:50 -04:00
|
|
|
.loading{ style: "display:none;"}
|
2011-11-05 14:26:06 +02:00
|
|
|
|
2011-11-27 10:36:28 +02:00
|
|
|
- if @commits.count == @limit
|
|
|
|
:javascript
|
|
|
|
$(function(){
|
2012-02-12 23:52:27 +02:00
|
|
|
CommitsList.init("#{@ref}", #{@limit});
|
2011-11-27 10:36:28 +02:00
|
|
|
});
|
2012-01-29 23:59:12 +02:00
|
|
|
|