summaryrefslogtreecommitdiff
path: root/app/views/dashboard/milestones/_issue.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/dashboard/milestones/_issue.html.haml')
-rw-r--r--app/views/dashboard/milestones/_issue.html.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/dashboard/milestones/_issue.html.haml b/app/views/dashboard/milestones/_issue.html.haml
new file mode 100644
index 00000000000..f689b9698eb
--- /dev/null
+++ b/app/views/dashboard/milestones/_issue.html.haml
@@ -0,0 +1,10 @@
+%li{ id: dom_id(issue, 'sortable'), class: 'issue-row', 'data-iid' => issue.iid }
+ %span.milestone-row
+ - project = issue.project
+ %strong #{project.name_with_namespace} ·
+ = link_to [project.namespace.becomes(Namespace), project, issue] do
+ %span.cgray ##{issue.iid}
+ = link_to_gfm issue.title, [project.namespace.becomes(Namespace), project, issue], title: issue.title
+ .pull-right.assignee-icon
+ - if issue.assignee
+ = image_tag avatar_icon(issue.assignee.email, 16), class: "avatar s16"