_commit.html.haml 354 Bytes
Newer Older
1 2 3
%li.entry
  = link_to project_commit_path(@project, :id => commit.id) do
    %div
4
      %code= commit.id.to_s[0..10]
5 6 7 8 9 10 11 12
      –
      = 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