Commit 55e4fff7 authored by Clement Ho's avatar Clement Ho

Fix bug whereby milestone tooltip title was null

parent f4a98ea9
......@@ -173,6 +173,8 @@ module MilestonesHelper
def milestone_tooltip_due_date(milestone)
if milestone.due_date
"#{milestone.due_date.to_s(:medium)} (#{remaining_days_in_words(milestone)})"
else
_('Milestone')
end
end
......
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