Compare view for commits

This commit is contained in:
Dmitriy Zaporozhets 2012-02-06 22:32:04 +02:00
parent 6c416aaac8
commit 422e43989b
13 changed files with 135 additions and 61 deletions

View file

@ -0,0 +1,13 @@
%li.entry
= link_to project_commit_path(@project, :id => commit.id) do
%div
%strong
= truncate commit.id.to_s, :length => 10
–
= image_tag gravatar_icon(commit.author_email), :class => "", :width => 16
= truncate(commit.safe_message, :length => 50)
%span.right.cgray
= time_ago_in_words(commit.committed_date)
ago