Copy changes for milestone due dates.
This commit is contained in:
parent
b868b81416
commit
4f5ee68f09
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue