Commit df8b4ab4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #8662 from yglukhov/mr-and-issue-links

Make MR and issue numbers clickable links in MR and issue lists.
parents 476199e0 3d87cf8d
......@@ -17,7 +17,7 @@
= issue.notes.count
.issue-info
%span.light= "##{issue.iid}"
= link_to "##{issue.iid}", project_issue_path(issue.project, issue), class: "light"
- if issue.assignee
assigned to #{link_to_member(@project, issue.assignee)}
- if issue.votes_count > 0
......
......@@ -22,7 +22,7 @@
%i.fa.fa-comments
= merge_request.mr_and_commit_notes.count
.merge-request-info
%span.light= "##{merge_request.iid}"
= link_to "##{merge_request.iid}", project_merge_request_path(merge_request.target_project, merge_request), class: "light"
- if merge_request.assignee
assigned to #{link_to_member(merge_request.source_project, merge_request.assignee)}
- 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