Commit 4f5ee68f authored by Fatih Acet's avatar Fatih Acet

Copy changes for milestone due dates.

parent b868b814
......@@ -5,7 +5,7 @@
return '' unless time
suffix or= 'remaining'
expiredLabel or= 'expired'
expiredLabel or= 'Past due'
jQuery.timeago.settings.allowFuture = yes
......
......@@ -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)
......
......@@ -6,7 +6,7 @@
- if @milestone.closed?
Closed
- elsif @milestone.expired?
Expired
Past Due
- else
Open
%span.identifier
......
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