Commit 08ee38a1 authored by Douwe Maan's avatar Douwe Maan

Link milestone item to issues with that milestone

parent dc809983
...@@ -28,11 +28,13 @@ ...@@ -28,11 +28,13 @@
= 0 = 0
.issue-info .issue-info
= "#{issue.to_reference} opened #{time_ago_with_tooltip(issue.created_at, placement: 'bottom')} by #{link_to_member(@project, issue.author, avatar: false)}".html_safe #{issue.to_reference} ·
opened #{time_ago_with_tooltip(issue.created_at, placement: 'bottom')}
by #{link_to_member(@project, issue.author, avatar: false)}
- if issue.milestone - if issue.milestone
   
%span = link_to namespace_project_issues_path(issue.project.namespace, issue.project, milestone_title: issue.milestone.title) do
%i.fa.fa-clock-o = icon('clock-o')
= issue.milestone.title = issue.milestone.title
- if issue.tasks? - if issue.tasks?
%span.task-status %span.task-status
......
...@@ -33,11 +33,13 @@ ...@@ -33,11 +33,13 @@
= 0 = 0
.merge-request-info .merge-request-info
= "##{merge_request.iid} opened #{time_ago_with_tooltip(merge_request.created_at, placement: 'bottom')} by #{link_to_member(@project, merge_request.author, avatar: false)}".html_safe \##{merge_request.iid} ·
opened #{time_ago_with_tooltip(merge_request.created_at, placement: 'bottom')}
by #{link_to_member(@project, merge_request.author, avatar: false)}
- if merge_request.milestone_id? - if merge_request.milestone_id?
   
%span = link_to namespace_project_merge_requests_path(merge_request.project.namespace, merge_request.project, milestone_title: merge_request.milestone.title) do
%i.fa.fa-clock-o = icon('clock-o')
= merge_request.milestone.title = merge_request.milestone.title
- if merge_request.target_project.default_branch != merge_request.target_branch - if merge_request.target_project.default_branch != merge_request.target_branch
   
......
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