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

21 lines
585 B
Text
Raw Normal View History

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
= link_to project_commits_path(@project, :ref => commit.head.name) do
2012-02-18 08:59:01 -05:00
%strong
2012-01-28 09:47:55 -05:00
= commit.head.name
- if commit.head.name == @project.root_ref
%span.label default
2012-02-18 08:59:01 -05:00
%td
%div
= link_to project_commits_path(@project, commit.id) do
2012-07-22 07:08:24 -04:00
%code= commit.short_id
2012-01-28 09:47:55 -05:00
= image_tag gravatar_icon(commit.author_email), :class => "", :width => 16
2012-08-01 20:31:45 -04:00
= gfm 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