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

19 lines
535 B
Plaintext
Raw Normal View History

2011-11-01 11:48:26 +01:00
- content_for(:body_class, "project-page commits-page")
2011-11-01 21:11:24 +01: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-03 17:28:33 +01:00
= link_to project_commits_path(@project) do
= @project.name
- if params[:path]
\/
2011-11-01 21:11:24 +01:00
%a{:href => "#"}= params[:path].split("/").join(" / ")
2011-11-04 08:46:58 +01:00
.right= render :partial => "projects/refs", :locals => { :destination => project_commits_path(@project) }
2011-11-01 21:11:24 +01:00
%div{:id => dom_id(@project)}
= render "commits"