Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
18529269
Commit
18529269
authored
May 07, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
truncate long branch names on MR index
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
c9104fa6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
app/views/projects/merge_requests/_merge_request.html.haml
app/views/projects/merge_requests/_merge_request.html.haml
+3
-7
No files found.
app/views/projects/merge_requests/_merge_request.html.haml
View file @
18529269
...
...
@@ -11,13 +11,9 @@
-
if
merge_request
.
for_fork?
%span
.light
#{
merge_request
.
source_project_namespace
}
:
=
merge_request
.
source_branch
%i
.icon-angle-right.light
=
merge_request
.
target_branch
-
else
=
merge_request
.
source_branch
%i
.icon-angle-right.light
=
merge_request
.
target_branch
=
truncate
merge_request
.
source_branch
,
length:
25
%i
.icon-angle-right.light
=
merge_request
.
target_branch
.merge-request-info
-
if
merge_request
.
author
authored by
#{
link_to_member
(
merge_request
.
source_project
,
merge_request
.
author
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment