Commit 479020ec authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix project issues and merge requests pages

parent 0ec1c8ee
...@@ -47,6 +47,5 @@ module GitlabRoutingHelper ...@@ -47,6 +47,5 @@ module GitlabRoutingHelper
def project_snippet_url(entity, *args) def project_snippet_url(entity, *args)
namespace_project_snippet_url(entity.project.namespace, entity.project, entity, *args) namespace_project_snippet_url(entity.project.namespace, entity.project, entity, *args)
end end
end end
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
= issue.notes.count = issue.notes.count
.issue-info .issue-info
= link_to "##{issue.iid}", project_issue_path(issue.project, issue), class: "light" = link_to "##{issue.iid}", issue_path(issue), class: "light"
- if issue.assignee - if issue.assignee
assigned to #{link_to_member(@project, issue.assignee)} assigned to #{link_to_member(@project, issue.assignee)}
- if issue.votes_count > 0 - if issue.votes_count > 0
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
%i.fa.fa-comments %i.fa.fa-comments
= merge_request.mr_and_commit_notes.count = merge_request.mr_and_commit_notes.count
.merge-request-info .merge-request-info
= link_to "##{merge_request.iid}", project_merge_request_path(merge_request.target_project, merge_request), class: "light" = link_to "##{merge_request.iid}", merge_request_path(merge_request), class: "light"
- if merge_request.assignee - if merge_request.assignee
assigned to #{link_to_member(merge_request.source_project, merge_request.assignee)} assigned to #{link_to_member(merge_request.source_project, merge_request.assignee)}
- else - 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