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