diff options
author | yglukhov <yuriy.glukhov@gmail.com> | 2015-01-27 14:58:31 +0200 |
---|---|---|
committer | yglukhov <yuriy.glukhov@gmail.com> | 2015-02-15 21:01:43 +0200 |
commit | 3d87cf8dc18eb8a37fc6996939c52a1ce508126d (patch) | |
tree | ed6fc9089335bfd1c25455d850a3464a3bf18421 /app | |
parent | d785b20c43b114bbae385a5446f9369370fbd3bf (diff) | |
download | gitlab-ce-3d87cf8dc18eb8a37fc6996939c52a1ce508126d.tar.gz |
Make MR and issue numbers clickable links in MR and issue lists.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/issues/_issue.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/merge_requests/_merge_request.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/issues/_issue.html.haml b/app/views/projects/issues/_issue.html.haml index dc6510be858..9ccda38ade9 100644 --- a/app/views/projects/issues/_issue.html.haml +++ b/app/views/projects/issues/_issue.html.haml @@ -11,7 +11,7 @@ CLOSED .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 diff --git a/app/views/projects/merge_requests/_merge_request.html.haml b/app/views/projects/merge_requests/_merge_request.html.haml index 5afc87fb6b1..4e294064cb6 100644 --- a/app/views/projects/merge_requests/_merge_request.html.haml +++ b/app/views/projects/merge_requests/_merge_request.html.haml @@ -14,7 +14,7 @@ %i.fa.fa-angle-right.light = merge_request.target_branch .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 |