Commit a64ce334 authored by Olena Horal-Koretska's avatar Olena Horal-Koretska

Merge branch 'arfedoro-subscription-breakdown-modal' into 'master'

Added missing button variant to remove licence modal

See merge request gitlab-org/gitlab!80719
parents 2bbb9e87 5eb4a9d0
...@@ -8,6 +8,7 @@ import { ...@@ -8,6 +8,7 @@ import {
manageSubscriptionButtonText, manageSubscriptionButtonText,
subscriptionSyncStatus, subscriptionSyncStatus,
removeLicense, removeLicense,
removeLicenseButtonLabel,
removeLicenseConfirm, removeLicenseConfirm,
subscriptionDetailsHeaderText, subscriptionDetailsHeaderText,
subscriptionTypes, subscriptionTypes,
...@@ -30,6 +31,7 @@ export default { ...@@ -30,6 +31,7 @@ export default {
manageSubscriptionButtonText, manageSubscriptionButtonText,
removeLicense, removeLicense,
removeLicenseConfirm, removeLicenseConfirm,
removeLicenseButtonLabel,
subscriptionDetailsHeaderText, subscriptionDetailsHeaderText,
syncSubscriptionButtonText, syncSubscriptionButtonText,
}, },
...@@ -218,10 +220,13 @@ export default { ...@@ -218,10 +220,13 @@ export default {
<gl-button <gl-button
v-if="canRemoveLicense" v-if="canRemoveLicense"
category="secondary" category="secondary"
:title="$options.i18n.removeLicenseButtonLabel"
:aria-label="$options.i18n.removeLicenseButtonLabel"
variant="danger" variant="danger"
class="gl-mr-3" class="gl-mr-3"
:href="licenseRemovePath" :href="licenseRemovePath"
:data-confirm="$options.i18n.removeLicenseConfirm" :data-confirm="$options.i18n.removeLicenseConfirm"
data-confirm-btn-variant="danger"
data-method="delete" data-method="delete"
data-testid="license-remove-action" data-testid="license-remove-action"
data-qa-selector="remove_license_link" data-qa-selector="remove_license_link"
......
...@@ -52,6 +52,7 @@ export const detailsLabels = { ...@@ -52,6 +52,7 @@ export const detailsLabels = {
export const removeLicense = __('Remove license'); export const removeLicense = __('Remove license');
export const removeLicenseConfirm = __('Are you sure you want to remove the license?'); export const removeLicenseConfirm = __('Are you sure you want to remove the license?');
export const removeLicenseButtonLabel = __('Remove license');
export const uploadLicense = __('Upload license'); export const uploadLicense = __('Upload license');
export const uploadLicenseFile = s__('SuperSonics|Upload a license file'); export const uploadLicenseFile = s__('SuperSonics|Upload a license file');
export const billableUsersTitle = s__('SuperSonics|Billable users'); export const billableUsersTitle = s__('SuperSonics|Billable users');
......
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