diff --git a/app/views/events/_commit.html.haml b/app/views/events/_commit.html.haml index ca0f29e2d6bfbc16e05a3a775a32b7920d72a0cf..bef50c0a001022435f8bf91e97fecc39506b2e0e 100644 --- a/app/views/events/_commit.html.haml +++ b/app/views/events/_commit.html.haml @@ -1,9 +1,10 @@ - commit = CommitDecorator.decorate(commit) +- @project = project %li.wll.commit %p = link_to commit.short_id(8), project_commit_path(project, :id => commit.id), :class => "commit_short_id" %strong.cdark= commit.author_name – = image_tag gravatar_icon(commit.author_email), :class => "avatar", :width => 16 - = gfm truncate(commit.title, :length => 50), project_commit_path(project, :id => commit.id) rescue "--broken encoding" + = gfm truncate(commit.title, :length => 50) rescue "--broken encoding"