2012-01-28 15:47:55 +01:00
|
|
|
- commit = update
|
2012-07-22 13:08:24 +02:00
|
|
|
- commit = CommitDecorator.new(commit)
|
2012-02-18 14:59:01 +01:00
|
|
|
%tr
|
|
|
|
%td
|
2012-09-26 05:33:42 +02:00
|
|
|
= link_to project_commits_path(@project, commit.head.name) do
|
2012-02-18 14:59:01 +01:00
|
|
|
%strong
|
2012-01-28 15:47:55 +01:00
|
|
|
= commit.head.name
|
2012-02-20 07:39:03 +01:00
|
|
|
- if commit.head.name == @project.root_ref
|
|
|
|
%span.label default
|
|
|
|
|
2012-02-18 14:59:01 +01:00
|
|
|
%td
|
|
|
|
%div
|
2012-02-20 07:39:03 +01:00
|
|
|
= link_to project_commits_path(@project, commit.id) do
|
2012-07-22 13:08:24 +02:00
|
|
|
%code= commit.short_id
|
2012-08-11 00:07:50 +02:00
|
|
|
= image_tag gravatar_icon(commit.author_email), class: "", width: 16
|
2012-09-20 02:21:12 +02:00
|
|
|
= gfm escape_once(truncate(commit.title, length: 40))
|
2012-02-18 14:59:01 +01:00
|
|
|
%td
|
|
|
|
%span.right.cgray
|
|
|
|
= time_ago_in_words(commit.committed_date)
|
|
|
|
ago
|