2021-04-12 18:12:15 +00:00
|
|
|
- if milestone.expired? && !milestone.closed?
|
2021-01-19 15:10:34 +00:00
|
|
|
.gl-badge.badge-warning.badge-pill.gl-mb-2= _('Expired')
|
2018-06-15 14:39:50 +00:00
|
|
|
- if milestone.upcoming?
|
2021-01-19 15:10:34 +00:00
|
|
|
.gl-badge.badge-primary.badge-pill.gl-mb-2= _('Upcoming')
|
2018-06-15 14:39:50 +00:00
|
|
|
- if milestone.closed?
|
2021-01-19 15:10:34 +00:00
|
|
|
.gl-badge.badge-danger.badge-pill.gl-mb-2= _('Closed')
|