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

18 lines
540 B
Plaintext
Raw Normal View History

2012-02-09 08:51:50 +01:00
%li
.row
.span12
.entry
= link_to project_commit_path(@project, :id => commit.id) do
%p
%code= commit.id.to_s[0..10]
–
= image_tag gravatar_icon(commit.author_email), :class => "", :width => 16
= truncate(commit.safe_message, :length => 50)
2012-02-06 21:32:04 +01:00
2012-02-09 08:51:50 +01:00
%span.right.cgray
= time_ago_in_words(commit.committed_date)
ago
.span2
= link_to "Browse Code", tree_project_ref_path(@project, commit.id), :class => "btn small"
2012-02-06 21:32:04 +01:00