diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-20 03:16:25 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-20 03:16:25 +0300 |
commit | 55e4fff733f2eb9c53e6506fbf0421f32426bce2 (patch) | |
tree | f055525d251bab93470f4dba8493dc8b21195275 /app/helpers | |
parent | f4a98ea9d1efd0e3aa8593cfe8e49b062dad1616 (diff) |
Fix bug whereby milestone tooltip title was null
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/milestones_helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/milestones_helper.rb b/app/helpers/milestones_helper.rb index 631828b8a30..2070d9e6296 100644 --- a/app/helpers/milestones_helper.rb +++ b/app/helpers/milestones_helper.rb @@ -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 |