BigW Consortium Gitlab

Commit 84caae72 by Drew Blessing

Do not display project group/name when issue and MR are in same project

parent 110a5f9c
...@@ -15,9 +15,10 @@ ...@@ -15,9 +15,10 @@
%span.merge-request-info %span.merge-request-info
%strong %strong
= link_to_gfm merge_request.title, merge_request_path(merge_request), class: "row_title" = link_to_gfm merge_request.title, merge_request_path(merge_request), class: "row_title"
in - unless @issue.project.id == merge_request.target_project.id
- project = merge_request.target_project in
= link_to project.name_with_namespace, namespace_project_path(project.namespace, project) - project = merge_request.target_project
= link_to project.name_with_namespace, namespace_project_path(project.namespace, project)
%span.merge-request-status.prepend-left-10 %span.merge-request-status.prepend-left-10
- if merge_request.merged? - if merge_request.merged?
MERGED MERGED
......
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