2011-11-21 07:16:10 +00:00
|
|
|
- content_for(:body_class, "project-page commits-page")
|
|
|
|
%h2.icon
|
|
|
|
%span
|
|
|
|
%d
|
|
|
|
= "#{truncate(@commit.safe_message, :length => 50)}"
|
|
|
|
.right
|
2011-11-21 07:26:10 +00:00
|
|
|
= link_to 'Browse Code', tree_project_ref_path(@project, @commit.id), :class => "browse-code button yellow"
|
2011-10-08 21:36:38 +00:00
|
|
|
%table.round-borders
|
2011-11-21 07:16:10 +00:00
|
|
|
%thead
|
|
|
|
%th{:colspan => 2} Details
|
2011-10-08 21:36:38 +00:00
|
|
|
%tr
|
|
|
|
%td ID
|
|
|
|
%td= @commit.id
|
|
|
|
%tr
|
|
|
|
%td Author
|
2011-11-03 10:56:26 +00:00
|
|
|
%td= @commit.author_name
|
2011-10-08 21:36:38 +00:00
|
|
|
%tr
|
2011-11-30 19:24:50 +00:00
|
|
|
%td Committed Date
|
2011-11-30 19:23:17 +00:00
|
|
|
%td= @commit.created_at.stamp("Aug 21, 2011, 11:15pm")
|
2011-10-08 21:36:38 +00:00
|
|
|
%tr
|
|
|
|
%td Message
|
2011-10-31 13:34:22 +00:00
|
|
|
%td
|
|
|
|
%pre.commit_message
|
|
|
|
= preserve @commit.safe_message
|
2011-10-08 21:36:38 +00:00
|
|
|
.clear
|
|
|
|
|
2011-11-05 12:45:52 +00:00
|
|
|
%br
|
2011-10-08 21:36:38 +00:00
|
|
|
|
2011-11-05 12:45:52 +00:00
|
|
|
= render "commits/diff"
|
|
|
|
= render "notes/notes"
|