gitlab-org--gitlab-foss/app/views/projects/repositories/_feed.html.haml

19 lines
647 B
Text
Raw Normal View History

2012-01-28 09:47:55 -05:00
- commit = update
2012-02-18 08:59:01 -05:00
%tr
%td
= 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)
%span.label default
2012-02-18 08:59:01 -05:00
%td
%div
= 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: ''
= 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
= time_ago_with_tooltip(commit.committed_date)