Copy changes for milestone due dates.

This commit is contained in:
Fatih Acet 2016-06-08 18:41:03 +03:00
parent b868b81416
commit 4f5ee68f09
3 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@
return '' unless time
suffix or= 'remaining'
expiredLabel or= 'expired'
expiredLabel or= 'Past due'
jQuery.timeago.settings.allowFuture = yes

View file

@ -56,7 +56,7 @@ module MilestonesHelper
def milestone_remaining_days(milestone)
if milestone.expired?
content_tag(:strong, 'expired')
content_tag(:strong, 'Past Due')
elsif milestone.due_date
days = milestone.remaining_days
content = content_tag(:strong, days)

View file

@ -6,7 +6,7 @@
- if @milestone.closed?
Closed
- elsif @milestone.expired?
Expired
Past Due
- else
Open
%span.identifier