Commit 9ba5b578 authored by David O'Regan's avatar David O'Regan

Merge branch 'yo-gl-badge-milestone' into 'master'

Update milestone badge to gl-badge

See merge request gitlab-org/gitlab!51794
parents bd3ad449 83d13123
- if milestone.expired? and not milestone.closed?
.status-box.status-box-expired.gl-mb-2= _('Expired')
.gl-badge.badge-warning.badge-pill.gl-mb-2= _('Expired')
- if milestone.upcoming?
.status-box.status-box-mr-merged.gl-mb-2= _('Upcoming')
.gl-badge.badge-primary.badge-pill.gl-mb-2= _('Upcoming')
- if milestone.closed?
.status-box.status-box-closed.gl-mb-2= _('Closed')
.gl-badge.badge-danger.badge-pill.gl-mb-2= _('Closed')
......@@ -29,10 +29,10 @@
%div
= render('shared/milestone_expired', milestone: milestone)
- if milestone.group_milestone?
.label-badge.gl-bg-blue-50.d-inline-block
.gl-badge.badge-info.badge-pill
= milestone.group.full_name
- if milestone.project_milestone?
.label-badge.gl-bg-gray-50.d-inline-block
.gl-badge.badge-muted.badge-pill
= milestone.project.full_name
.col-sm-4.milestone-progress
......
---
title: Update milestone badge to gl-badge
merge_request: 51794
author: Yogi (@yo)
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment