From c687ebe3d364fd9de3017de0568ff9ed5a077678 Mon Sep 17 00:00:00 2001 From: Cyril Date: Thu, 9 Aug 2012 19:53:27 +0200 Subject: [PATCH] fix gfm for commit events on dashboard --- app/views/events/_commit.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/events/_commit.html.haml b/app/views/events/_commit.html.haml index ca0f29e2d6b..bef50c0a001 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" -- GitLab