diff --git a/app/views/dashboard/todos/_todo.html.haml b/app/views/dashboard/todos/_todo.html.haml index b40395c74de..c729bbec5b5 100644 --- a/app/views/dashboard/todos/_todo.html.haml +++ b/app/views/dashboard/todos/_todo.html.haml @@ -20,6 +20,15 @@ · #{time_ago_with_tooltip(todo.created_at)} + - if todo.target.try(:due_date) + · + %span{ class: ('text-warning' if todo.target.due_date.try(:today?)) } + Due + - if todo.target.due_date.try(:today?) + today + - else + = todo.target.due_date.to_s(:medium) + .todo-body .todo-note .md