summaryrefslogtreecommitdiff
path: root/app/views/projects/issues/_issue.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/issues/_issue.html.haml')
-rw-r--r--app/views/projects/issues/_issue.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/projects/issues/_issue.html.haml b/app/views/projects/issues/_issue.html.haml
index 4aa92d0b39e..57ad2ec1852 100644
--- a/app/views/projects/issues/_issue.html.haml
+++ b/app/views/projects/issues/_issue.html.haml
@@ -48,6 +48,11 @@
= link_to namespace_project_issues_path(issue.project.namespace, issue.project, milestone_title: issue.milestone.title) do
= icon('clock-o')
= issue.milestone.title
+ - if issue.due_date
+ %span{class: "#{'cred' if issue.overdue?}"}
+  
+ = icon('calendar')
+ = issue.due_date.to_s(:medium)
- if issue.labels.any?
 
- issue.labels.each do |label|