From fe4601361d0d713451a3ad6c398f45e8c7bd6211 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 8 Jul 2013 16:05:09 +0300 Subject: [PATCH] Milestone page: reduce truncate length to prevent issue title overflow --- app/views/projects/milestones/_issues.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/milestones/_issues.html.haml b/app/views/projects/milestones/_issues.html.haml index eccf3dd..67a7bf8 100644 --- a/app/views/projects/milestones/_issues.html.haml +++ b/app/views/projects/milestones/_issues.html.haml @@ -5,7 +5,7 @@ %li = link_to [@project, issue] do %span.badge{class: issue.closed? ? 'badge-important' : 'badge-info'} ##{issue.id} - = link_to_gfm truncate(issue.title, length: 60), [@project, issue] + = link_to_gfm truncate(issue.title, length: 40), [@project, issue] - if issue.assignee .pull-right = image_tag gravatar_icon(issue.assignee.email, 16), class: "avatar s16" -- libgit2 0.21.2