Commit 18529269 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

truncate long branch names on MR index

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent c9104fa6
...@@ -11,11 +11,7 @@ ...@@ -11,11 +11,7 @@
- if merge_request.for_fork? - if merge_request.for_fork?
%span.light %span.light
#{merge_request.source_project_namespace}: #{merge_request.source_project_namespace}:
= merge_request.source_branch = truncate merge_request.source_branch, length: 25
%i.icon-angle-right.light
= merge_request.target_branch
- else
= merge_request.source_branch
%i.icon-angle-right.light %i.icon-angle-right.light
= merge_request.target_branch = merge_request.target_branch
.merge-request-info .merge-request-info
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment