2012-01-28 09:47:55 -05:00
|
|
|
- commit = update
|
2012-07-22 07:08:24 -04:00
|
|
|
- commit = CommitDecorator.new(commit)
|
2012-02-18 08:59:01 -05:00
|
|
|
%tr
|
|
|
|
%td
|
2012-09-25 23:33:42 -04:00
|
|
|
= link_to project_commits_path(@project, commit.head.name) do
|
2012-02-18 08:59:01 -05:00
|
|
|
%strong
|
2012-01-28 09:47:55 -05:00
|
|
|
= commit.head.name
|
2013-01-04 14:45:30 -05:00
|
|
|
- if @project.root_ref?(commit.head.name)
|
2012-02-20 01:39:03 -05:00
|
|
|
%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
|
2012-07-22 07:08:24 -04:00
|
|
|
%code= commit.short_id
|
2012-08-10 18:07:50 -04:00
|
|
|
= image_tag gravatar_icon(commit.author_email), class: "", width: 16
|
2012-09-19 20:21:12 -04:00
|
|
|
= gfm escape_once(truncate(commit.title, length: 40))
|
2012-02-18 08:59:01 -05:00
|
|
|
%td
|
|
|
|
%span.right.cgray
|
|
|
|
= time_ago_in_words(commit.committed_date)
|
|
|
|
ago
|