2012-01-28 09:47:55 -05:00
|
|
|
- commit = update
|
2012-02-18 08:59:01 -05:00
|
|
|
%tr
|
|
|
|
%td
|
2017-06-29 13:06:35 -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
|
2017-06-29 13:06:35 -04:00
|
|
|
= link_to project_commits_path(@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: ''
|
2016-10-06 18:01:42 -04:00
|
|
|
= markdown(truncate(commit.title, length: 40), pipeline: :single_line, author: commit.author)
|
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)
|