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

32 lines
757 B
Plaintext
Raw Normal View History

2012-02-06 20:32:04 +00:00
= render "head"
2012-01-29 19:58:31 +00:00
%h3
Commits
- if current_user.private_token
%span.rss-icon
= link_to project_commits_path(@project, :atom, { :private_token => current_user.private_token, :ref => @ref }) do
= image_tag "Rss-UI.PNG", :width => 22, :title => "feed"
2012-01-29 19:58:31 +00:00
%hr
2011-11-01 20:11:24 +00:00
2011-12-12 17:22:01 +00:00
- if params[:path]
2012-01-26 23:46:32 +00:00
%ul.breadcrumb
%li
= link_to project_commits_path(@project) do
= @project.code
%span.divider
\/
%li
%a{:href => "#"}= params[: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;"}
%center= image_tag "ajax-loader.gif"
- if @commits.count == @limit
:javascript
$(function(){
CommitsList.init("#{@ref}", 20);
});