Milestone page: reduce truncate length to prevent issue title overflow
This commit is contained in:
parent
6ace422c29
commit
fe4601361d
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
%li
|
%li
|
||||||
= link_to [@project, issue] do
|
= link_to [@project, issue] do
|
||||||
%span.badge{class: issue.closed? ? 'badge-important' : 'badge-info'} ##{issue.id}
|
%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
|
- if issue.assignee
|
||||||
.pull-right
|
.pull-right
|
||||||
= image_tag gravatar_icon(issue.assignee.email, 16), class: "avatar s16"
|
= image_tag gravatar_icon(issue.assignee.email, 16), class: "avatar s16"
|
||||||
|
|
Loading…
Reference in a new issue