gitlabhq/app/views/commits/_commit.html.haml
2012-06-13 20:02:30 +03:00

18 lines
573 B
Plaintext

%li.commit
.browse_code_link_holder
%p
%strong= link_to "Browse Code »", tree_project_ref_path(@project, commit.id), :class => "right"
= link_to project_commit_path(@project, :id => commit.id) do
%p
%code.left= commit.id.to_s[0..10]
%strong.cgray= commit.author_name
–
= image_tag gravatar_icon(commit.author_email), :class => "avatar", :width => 16
%span.row_title= truncate(commit.safe_message, :length => 50)
%span.committed_ago
= time_ago_in_words(commit.committed_date)
ago