summaryrefslogtreecommitdiff
path: root/app/views/shared/milestones/_issue.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/milestones/_issue.html.haml')
-rw-r--r--app/views/shared/milestones/_issue.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/shared/milestones/_issue.html.haml b/app/views/shared/milestones/_issue.html.haml
index be55c5b6fe0..dbef742ebe8 100644
--- a/app/views/shared/milestones/_issue.html.haml
+++ b/app/views/shared/milestones/_issue.html.haml
@@ -3,6 +3,10 @@
%li{ id: dom_id(issue, 'sortable'), class: 'issue-row', 'data-iid' => issue.iid, 'data-url' => issue_path(issue) }
%span
+ - if show_project_name
+ %strong #{project.name} ·
+ - elsif show_full_project_name
+ %strong #{project.name_with_namespace} ·
= link_to_gfm issue.title, [project.namespace.becomes(Namespace), project, issue], title: issue.title
.issue-detail
= link_to [project.namespace.becomes(Namespace), project, issue] do