2011-11-21 02:16:10 -05:00
|
|
|
- content_for(:body_class, "project-page commits-page")
|
2011-11-30 17:24:28 -05:00
|
|
|
.commit
|
|
|
|
%span.commit-info
|
|
|
|
= link_to tree_project_ref_path(@project, @commit.id) do
|
|
|
|
%data.commit-button
|
|
|
|
Browse Code
|
|
|
|
%i
|
|
|
|
- if @commit.author_email
|
|
|
|
= image_tag gravatar_icon(@commit.author_email), :class => "left", :width => 40, :style => "padding-right:5px;"
|
|
|
|
- else
|
|
|
|
= image_tag "no_avatar.png", :class => "left", :width => 40, :style => "padding-right:5px;"
|
|
|
|
%span.commit-title
|
|
|
|
%strong
|
|
|
|
= truncate(@commit.id.to_s, :length => 60)
|
|
|
|
%span.commit-author
|
|
|
|
%strong= @commit.author_name
|
|
|
|
= @commit.created_at.stamp("Aug 21, 2011 9:23pm")
|
|
|
|
|
|
|
|
%hr
|
|
|
|
%pre.commit_message
|
2011-12-26 17:22:15 -05:00
|
|
|
= commit_msg_with_link_to_issues(@project, @commit.safe_message)
|
2011-11-30 17:24:28 -05:00
|
|
|
.clear
|
2011-11-05 08:45:52 -04:00
|
|
|
%br
|
2011-10-08 17:36:38 -04:00
|
|
|
|
2011-11-05 08:45:52 -04:00
|
|
|
= render "commits/diff"
|
|
|
|
= render "notes/notes"
|