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

18 lines
560 B
Plaintext
Raw Normal View History

2012-06-13 19:02:30 +02:00
%li.commit
.browse_code_link_holder
2012-02-20 20:38:59 +01:00
%p
%strong= link_to "Browse Code »", tree_project_ref_path(@project, commit.id), :class => "right"
2012-02-11 22:22:33 +01:00
= link_to project_commit_path(@project, :id => commit.id) do
%p
2012-07-22 13:08:24 +02:00
%code.left= commit.short_id
2012-02-20 20:38:59 +01:00
%strong.cgray= commit.author_name
2012-02-11 22:22:33 +01:00
–
2012-02-14 23:10:01 +01:00
= image_tag gravatar_icon(commit.author_email), :class => "avatar", :width => 16
2012-07-22 13:08:24 +02:00
%span.row_title= truncate(commit.title, :length => 50)
2012-02-06 21:32:04 +01:00
2012-06-13 19:02:30 +02:00
%span.committed_ago
2012-02-11 22:22:33 +01:00
= time_ago_in_words(commit.committed_date)
ago
2012-02-19 20:30:31 +01:00
 
2012-02-06 21:32:04 +01:00