gitlabhq/app/views/commits/_commit.html.haml
2012-07-22 13:08:24 +02:00

18 lines
560 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.short_id
%strong.cgray= commit.author_name
–
= image_tag gravatar_icon(commit.author_email), :class => "avatar", :width => 16
%span.row_title= truncate(commit.title, :length => 50)
%span.committed_ago
= time_ago_in_words(commit.committed_date)
ago