2012-01-28 09:47:55 -05:00
|
|
|
- commit = update
|
2012-02-18 08:59:01 -05:00
|
|
|
%tr
|
|
|
|
%td
|
2012-06-03 18:37:27 -04:00
|
|
|
= link_to project_commits_path(@project, :ref => commit.head.name) do
|
2012-02-18 08:59:01 -05:00
|
|
|
%strong
|
2012-01-28 09:47:55 -05:00
|
|
|
= commit.head.name
|
2012-02-20 01:39:03 -05:00
|
|
|
- if commit.head.name == @project.root_ref
|
|
|
|
%span.label default
|
|
|
|
|
2012-02-18 08:59:01 -05:00
|
|
|
%td
|
|
|
|
%div
|
2012-02-20 01:39:03 -05:00
|
|
|
= link_to project_commits_path(@project, commit.id) do
|
|
|
|
%code= commit.id.to_s[0..10]
|
2012-01-28 09:47:55 -05:00
|
|
|
= image_tag gravatar_icon(commit.author_email), :class => "", :width => 16
|
|
|
|
= truncate(commit.safe_message, :length => 40)
|
2012-02-18 08:59:01 -05:00
|
|
|
%td
|
|
|
|
%span.right.cgray
|
|
|
|
= time_ago_in_words(commit.committed_date)
|
|
|
|
ago
|