summaryrefslogtreecommitdiff
path: root/app/views/shared/milestones/_milestone_complete_alert.html.haml
blob: 1c25fae747e3e727134adbabfe03ce2ff11cc4fa (plain)
1
2
3
4
5
6
7
8
9
10
- milestone = local_assigns[:milestone]

- if milestone.complete? && milestone.active?
  = render 'shared/global_alert',
    variant: :success,
    is_contained: true,
    alert_data: { testid: 'all-issues-closed-alert' },
    dismissible: false do
    .gl-alert-body
    = yield