2012-01-28 09:47:55 -05:00
|
|
|
- commit = update
|
2012-02-18 08:59:01 -05:00
|
|
|
%tr
|
|
|
|
%td
|
2015-01-24 13:02:58 -05:00
|
|
|
= link_to namespace_project_commits_path(@project.namespace, @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
|
2015-01-24 13:02:58 -05:00
|
|
|
= link_to namespace_project_commits_path(@project.namespace, @project, commit.id) do
|
2012-07-22 07:08:24 -04:00
|
|
|
%code= commit.short_id
|
2013-10-06 14:13:56 -04:00
|
|
|
= image_tag avatar_icon(commit.author_email), class: "", width: 16, alt: ''
|
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
|
2013-01-30 09:40:43 -05:00
|
|
|
%span.pull-right.cgray
|
2013-12-30 07:49:22 -05:00
|
|
|
= time_ago_with_tooltip(commit.committed_date)
|