gitlabhq/app/views/commits/_commit.html.haml

18 lines
590 B
Text
Raw Normal View History

2012-02-15 00:10:01 +02:00
%li.wll.commit
2012-02-11 23:22:33 +02:00
.right.span2
2012-02-20 21:38:59 +02:00
%p
%strong= link_to "Browse Code »", tree_project_ref_path(@project, commit.id), :class => "right"
2012-02-11 23:22:33 +02:00
= link_to project_commit_path(@project, :id => commit.id) do
%p
2012-02-15 00:10:01 +02:00
%code.left= commit.id.to_s[0..10]
2012-02-20 21:38:59 +02:00
%strong.cgray= commit.author_name
2012-02-11 23:22:33 +02:00
–
2012-02-15 00:10:01 +02:00
= image_tag gravatar_icon(commit.author_email), :class => "avatar", :width => 16
%span.row_title= truncate(commit.safe_message, :length => 50) rescue "--broken encoding"
2012-02-06 22:32:04 +02:00
2012-02-11 23:22:33 +02:00
%span.right.cgray
= time_ago_in_words(commit.committed_date)
ago
2012-02-19 21:30:31 +02:00
 
2012-02-06 22:32:04 +02:00