gitlabhq/app/views/commits/index.html.haml

28 lines
718 B
Text
Raw Normal View History

2011-11-01 12:48:26 +02:00
- content_for(:body_class, "project-page commits-page")
2011-11-01 22:11:24 +02:00
-#%a.right.button{:href => "#"} Download
-#-if can? current_user, :admin_project, @project
%a.right.button.blue{:href => "#"} EDIT
%h2.icon
%span
%d
2011-11-15 12:34:30 +04:00
= link_to project_commits_path(@project) do
2011-11-03 12:28:33 -04:00
= @project.name
- if params[:path]
\/
2011-11-01 22:11:24 +02:00
%a{:href => "#"}= params[:path].split("/").join(" / ")
2011-11-16 12:19:18 -05:00
.right= render :partial => "projects/refs", :locals => { :destination => :commits }
2011-11-01 22:11:24 +02:00
%div{:id => dom_id(@project)}
2011-11-05 14:26:06 +02: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);
});