Commit 910d5cf3 authored by Marin Jankovski's avatar Marin Jankovski

Merge pull request #7748 from yglukhov/clickable-source-repo-in-mr

Source repo is now clickable.
parents d97a9d49 7d9cdc2d
......@@ -31,7 +31,12 @@
%span.prepend-left-20
%span From
- if @merge_request.for_fork?
%strong.label-branch #{@merge_request.source_project_namespace}:#{@merge_request.source_branch}
%strong.label-branch<
- 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}
- else
......
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