diff options
Diffstat (limited to 'app/views/events/_commit.html.haml')
-rw-r--r-- | app/views/events/_commit.html.haml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/events/_commit.html.haml b/app/views/events/_commit.html.haml new file mode 100644 index 00000000000..60112b508a8 --- /dev/null +++ b/app/views/events/_commit.html.haml @@ -0,0 +1,9 @@ +%li.wll.commit + = 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 + %span.row_title= truncate(commit.safe_message, :length => 50) rescue "--broken encoding" + |