gitlabhq/app/views/repositories/_feed.html.haml
Robert Speicher 7754189187 Fully embrace Ruby 1.9 hash syntax
Didn't bother with files in db/, config/, or features/
2012-08-10 18:25:15 -04:00

21 lines
573 B
Plaintext

- commit = update
- commit = CommitDecorator.new(commit)
%tr
%td
= link_to project_commits_path(@project, ref: commit.head.name) do
%strong
= commit.head.name
- if commit.head.name == @project.root_ref
%span.label default
%td
%div
= link_to project_commits_path(@project, commit.id) do
%code= commit.short_id
= image_tag gravatar_icon(commit.author_email), class: "", width: 16
= gfm truncate(commit.title, length: 40)
%td
%span.right.cgray
= time_ago_in_words(commit.committed_date)
ago