Commit c8efb06a authored by Frédéric Caplette's avatar Frédéric Caplette

Merge branch '356484-text-tweaks-license-compliance' into 'master'

Adjust icons and button wording for license compliance

See merge request gitlab-org/gitlab!83703
parents 1023f7c2 39a4e79e
...@@ -56,7 +56,7 @@ export default { ...@@ -56,7 +56,7 @@ export default {
<template> <template>
<span class="gl-display-inline-flex gl-align-items-center"> <span class="gl-display-inline-flex gl-align-items-center">
<gl-button :loading="isLoading" @click="openModal(licenseCheckRule)" <gl-button :loading="isLoading" @click="openModal(licenseCheckRule)"
>{{ s__('LicenseCompliance|License Approvals') }} >{{ s__('LicenseCompliance|Update approvals') }}
</gl-button> </gl-button>
<span data-testid="licenseCheckStatus" class="gl-ml-3"> <span data-testid="licenseCheckStatus" class="gl-ml-3">
<gl-skeleton-loading <gl-skeleton-loading
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
class="gl-display-inline-flex gl-h-auto gl-align-items-center" class="gl-display-inline-flex gl-h-auto gl-align-items-center"
/> />
<span v-else class="gl-m-0 gl-font-weight-normal"> <span v-else class="gl-m-0 gl-font-weight-normal">
<gl-icon name="information" :size="12" class="gl-text-blue-600" /> <gl-icon name="information-o" :size="12" class="gl-text-blue-600" />
<gl-sprintf :message="licenseCheckStatusText"> <gl-sprintf :message="licenseCheckStatusText">
<template #docLink="{ content }"> <template #docLink="{ content }">
<gl-link :href="documentationPath" target="_blank">{{ content }}</gl-link> <gl-link :href="documentationPath" target="_blank">{{ content }}</gl-link>
......
...@@ -137,7 +137,7 @@ export default { ...@@ -137,7 +137,7 @@ export default {
:href="documentationPath" :href="documentationPath"
:aria-label="__('Dependencies help page link')" :aria-label="__('Dependencies help page link')"
> >
<gl-icon name="question" /> <gl-icon name="question-o" />
</gl-link> </gl-link>
</h2> </h2>
<p class="mb-0"> <p class="mb-0">
......
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
> >
<template #head(location)="data"> <template #head(location)="data">
{{ data.label }} {{ data.label }}
<gl-icon id="location-info" name="information" class="gl-text-blue-600" /> <gl-icon id="location-info" name="information-o" class="gl-text-blue-600" />
<gl-popover <gl-popover
target="location-info" target="location-info"
placement="top" placement="top"
......
...@@ -115,7 +115,7 @@ export default { ...@@ -115,7 +115,7 @@ export default {
<h2 class="h4 mb-1 gl-display-flex gl-align-items-center"> <h2 class="h4 mb-1 gl-display-flex gl-align-items-center">
{{ s__('Licenses|License Compliance') }} {{ s__('Licenses|License Compliance') }}
<gl-link :href="documentationPath" class="gl-ml-3" target="_blank"> <gl-link :href="documentationPath" class="gl-ml-3" target="_blank">
<gl-icon name="question" /> <gl-icon name="question-o" />
</gl-link> </gl-link>
</h2> </h2>
......
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
:href="documentationPath" :href="documentationPath"
:aria-label="s__('ThreatMonitoring|Threat Monitoring help page link')" :aria-label="s__('ThreatMonitoring|Threat Monitoring help page link')"
> >
<gl-icon name="question" /> <gl-icon name="question-o" />
</gl-link> </gl-link>
<gl-popover :target="() => $refs.helpLink"> <gl-popover :target="() => $refs.helpLink">
{{ $options.helpPopoverText }} {{ $options.helpPopoverText }}
......
...@@ -108,7 +108,7 @@ describe('EE Approvals LicenseCompliance', () => { ...@@ -108,7 +108,7 @@ describe('EE Approvals LicenseCompliance', () => {
}); });
it('renders an information icon', () => { it('renders an information icon', () => {
expect(findInformationIcon().props('name')).toBe('information'); expect(findInformationIcon().props('name')).toBe('information-o');
}); });
it('opens the link to the documentation page in a new tab', () => { it('opens the link to the documentation page in a new tab', () => {
......
...@@ -22239,9 +22239,6 @@ msgstr "" ...@@ -22239,9 +22239,6 @@ msgstr ""
msgid "LicenseCompliance|Learn more about %{linkStart}License Approvals%{linkEnd}" msgid "LicenseCompliance|Learn more about %{linkStart}License Approvals%{linkEnd}"
msgstr "" msgstr ""
msgid "LicenseCompliance|License Approvals"
msgstr ""
msgid "LicenseCompliance|License Compliance detected %d license and policy violation for the source branch only" msgid "LicenseCompliance|License Compliance detected %d license and policy violation for the source branch only"
msgid_plural "LicenseCompliance|License Compliance detected %d licenses and policy violations for the source branch only" msgid_plural "LicenseCompliance|License Compliance detected %d licenses and policy violations for the source branch only"
msgstr[0] "" msgstr[0] ""
...@@ -22310,6 +22307,9 @@ msgstr "" ...@@ -22310,6 +22307,9 @@ msgstr ""
msgid "LicenseCompliance|Uncategorized" msgid "LicenseCompliance|Uncategorized"
msgstr "" msgstr ""
msgid "LicenseCompliance|Update approvals"
msgstr ""
msgid "LicenseCompliance|You are about to remove the license, %{name}, from this project." msgid "LicenseCompliance|You are about to remove the license, %{name}, from this project."
msgstr "" msgstr ""
......
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