debian-mirror-gitlab/app/views/shared/_milestone_expired.html.haml
2021-03-11 19:13:27 +05:30

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')