Commit 043f2654 authored by Neil McCorrison's avatar Neil McCorrison Committed by Vitaly Slobodin

Updated licenses page to use non-deprecated GLBadge

parent 3ae04e5c
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
import { import {
GlLink, GlLink,
GlDeprecatedSkeletonLoading as GlSkeletonLoading, GlDeprecatedSkeletonLoading as GlSkeletonLoading,
GlDeprecatedBadge as GlBadge, GlBadge,
GlIcon, GlIcon,
GlFriendlyWrap, GlFriendlyWrap,
} from '@gitlab/ui'; } from '@gitlab/ui';
...@@ -82,8 +82,8 @@ export default { ...@@ -82,8 +82,8 @@ export default {
<license-component-links :components="license.components" :title="license.name" /> <license-component-links :components="license.components" :title="license.name" />
<div v-if="isDenied" class="d-inline-block"> <div v-if="isDenied" class="d-inline-block">
<!-- This badge usage will be simplified in https://gitlab.com/gitlab-org/gitlab/-/issues/213789 --> <!-- This badge usage will be simplified in https://gitlab.com/gitlab-org/gitlab/-/issues/213789 -->
<gl-badge variant="warning" class="gl-alert-warning d-flex align-items-center"> <gl-badge variant="warning">
<gl-icon name="warning" :size="16" class="pr-1" /> <gl-icon name="warning" class="mr-1" />
<span>{{ s__('Licenses|Policy violation: denied') }}</span> <span>{{ s__('Licenses|Policy violation: denied') }}</span>
</gl-badge> </gl-badge>
</div> </div>
......
---
title: Updated license compliance policy violation indicator styling
merge_request: 43447
author:
type: changed
...@@ -2,7 +2,7 @@ import { shallowMount } from '@vue/test-utils'; ...@@ -2,7 +2,7 @@ import { shallowMount } from '@vue/test-utils';
import { import {
GlLink, GlLink,
GlDeprecatedSkeletonLoading as GlSkeletonLoading, GlDeprecatedSkeletonLoading as GlSkeletonLoading,
GlDeprecatedBadge as GlBadge, GlBadge,
GlFriendlyWrap, GlFriendlyWrap,
} from '@gitlab/ui'; } from '@gitlab/ui';
import LicenseComponentLinks from 'ee/license_compliance/components/license_component_links.vue'; import LicenseComponentLinks from 'ee/license_compliance/components/license_component_links.vue';
......
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