Commit d1dab4a0 authored by Sacred Seven's avatar Sacred Seven

Fixed rtl on branch names in MR view

parent 5e16aa9c
......@@ -31,15 +31,15 @@
%span.prepend-left-20
%span From
- if @merge_request.for_fork?
%strong.label-branch<
%strong.label-branch{ dir: :auto }<
- if @merge_request.source_project
= link_to @merge_request.source_project_namespace, project_path(@merge_request.source_project)
- else
\ #{@merge_request.source_project_namespace}
\:#{@merge_request.source_branch}
%span into
%strong.label-branch #{@merge_request.target_project_namespace}:#{@merge_request.target_branch}
%strong.label-branch{ dir: :auto } #{@merge_request.target_project_namespace}:#{@merge_request.target_branch}
- else
%strong.label-branch #{@merge_request.source_branch}
%strong.label-branch{ dir: :auto } #{@merge_request.source_branch}
%span into
%strong.label-branch #{@merge_request.target_branch}
%strong.label-branch{ dir: :auto } #{@merge_request.target_branch}
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