debian-mirror-gitlab/app/views/shared/_milestone_expired.html.haml

7 lines
315 B
Text
Raw Normal View History

2021-04-29 21:17:54 +05:30
- if milestone.expired? && !milestone.closed?
2022-01-26 12:08:38 +05:30
= gl_badge_tag _('Expired'), { variant: :warning }, { class: "gl-mb-2" }
2017-08-17 22:00:37 +05:30
- if milestone.upcoming?
2022-01-26 12:08:38 +05:30
= gl_badge_tag _('Upcoming'), { variant: :info }, { class: "gl-mb-2" }
2018-11-08 19:23:39 +05:30
- if milestone.closed?
2022-01-26 12:08:38 +05:30
= gl_badge_tag _('Closed'), { variant: :danger }, { class: "gl-mb-2" }