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

17 lines
625 B
Text
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-07-22 14:31:42 +02:00
%p
= link_to commit.short_id(8), project_commit_path(@project, id: commit.id), class: "commit_short_id"
%strong.commit-author-name= commit.author_name
%span.dash –
= image_tag gravatar_icon(commit.author_email), class: "avatar", width: 16
= link_to_gfm truncate(commit.title, length: 50), project_commit_path(@project, id: commit.id), class: "row_title"
2012-02-06 21:32:04 +01:00
2012-07-22 14:31:42 +02:00
%span.committed_ago
= time_ago_in_words(commit.committed_date)
ago
 
2012-02-06 21:32:04 +01:00