gitlab-org--gitlab-foss/app/views/shared/_milestone_expired.html.haml

6 lines
274 B
Text

- if milestone.expired? and not milestone.closed?
.gl-badge.badge-warning.badge-pill.gl-mb-2= _('Expired')
- if milestone.upcoming?
.gl-badge.badge-primary.badge-pill.gl-mb-2= _('Upcoming')
- if milestone.closed?
.gl-badge.badge-danger.badge-pill.gl-mb-2= _('Closed')