gitlabhq/app/views/commits/_commit.html.haml
Dmitriy Zaporozhets 29c41e9a0e pollishing UI
2012-02-20 21:38:59 +02:00

18 lines
582 B
Plaintext

%li.wll.commit
.right.span2
%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
%strong= truncate(commit.safe_message, :length => 50) rescue "--broken encoding"
%span.right.cgray
= time_ago_in_words(commit.committed_date)
ago