2011-11-21 08:16:10 +01:00
|
|
|
- content_for(:body_class, "project-page commits-page")
|
|
|
|
|
|
|
|
-#%a.right.button{:href => "#"} Download
|
|
|
|
-#-if can? current_user, :admin_project, @project
|
|
|
|
%a.right.button.blue{:href => "#"} EDIT
|
|
|
|
%h2.icon
|
|
|
|
%span
|
|
|
|
%d
|
|
|
|
= "#{truncate(@commit.safe_message, :length => 50)}"
|
|
|
|
.right
|
|
|
|
= link_to 'Browse Code', tree_project_ref_path(@project, @commit.id), :class => "button"
|
2011-10-08 23:36:38 +02:00
|
|
|
-#= link_to 'Back', project_commits_path(@project), :class => "button"
|
|
|
|
%table.round-borders
|
2011-11-21 08:16:10 +01:00
|
|
|
%thead
|
|
|
|
%th{:colspan => 2} Details
|
2011-10-08 23:36:38 +02:00
|
|
|
%tr
|
|
|
|
%td ID
|
|
|
|
%td= @commit.id
|
|
|
|
%tr
|
|
|
|
%td Author
|
2011-11-03 11:56:26 +01:00
|
|
|
%td= @commit.author_name
|
2011-10-08 23:36:38 +02:00
|
|
|
%tr
|
|
|
|
%td Commited Date
|
2011-11-05 13:45:52 +01:00
|
|
|
%td= @commit.committed_date.stamp("21 Aug 2011, 11:15pm")
|
2011-10-08 23:36:38 +02:00
|
|
|
%tr
|
|
|
|
%td Message
|
2011-10-31 14:34:22 +01:00
|
|
|
%td
|
|
|
|
%pre.commit_message
|
|
|
|
= preserve @commit.safe_message
|
2011-10-08 23:36:38 +02:00
|
|
|
.clear
|
|
|
|
|
2011-11-05 13:45:52 +01:00
|
|
|
%br
|
2011-10-08 23:36:38 +02:00
|
|
|
|
2011-11-05 13:45:52 +01:00
|
|
|
= render "commits/diff"
|
|
|
|
= render "notes/notes"
|