Commit fe4601361d0d713451a3ad6c398f45e8c7bd6211

Authored by Dmitriy Zaporozhets
1 parent 6ace422c

Milestone page: reduce truncate length to prevent issue title overflow

app/views/projects/milestones/_issues.html.haml
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
5 %li 5 %li
6 = link_to [@project, issue] do 6 = link_to [@project, issue] do
7 %span.badge{class: issue.closed? ? 'badge-important' : 'badge-info'} ##{issue.id} 7 %span.badge{class: issue.closed? ? 'badge-important' : 'badge-info'} ##{issue.id}
8 - = link_to_gfm truncate(issue.title, length: 60), [@project, issue] 8 + = link_to_gfm truncate(issue.title, length: 40), [@project, issue]
9 - if issue.assignee 9 - if issue.assignee
10 .pull-right 10 .pull-right
11 = image_tag gravatar_icon(issue.assignee.email, 16), class: "avatar s16" 11 = image_tag gravatar_icon(issue.assignee.email, 16), class: "avatar s16"