Commit bfea414a authored by Jacques Erasmus's avatar Jacques Erasmus

Merge branch '337026-limit-subscription-page-width-to-990' into 'master'

Limit subscription page container to 990px

See merge request gitlab-org/gitlab!77947
parents 708bf188 ffd11f2c
...@@ -128,7 +128,7 @@ export default { ...@@ -128,7 +128,7 @@ export default {
v-on="$options.activationListeners" v-on="$options.activationListeners"
/> />
<div v-else class="row"> <div v-else class="row">
<div class="col-12 col-lg-8 offset-lg-2"> <div class="col-12">
<h3 class="gl-mb-7 gl-mt-6 gl-text-center" data-testid="subscription-activation-title"> <h3 class="gl-mb-7 gl-mt-6 gl-text-center" data-testid="subscription-activation-title">
{{ $options.i18n.noActiveSubscription }} {{ $options.i18n.noActiveSubscription }}
</h3> </h3>
......
...@@ -181,12 +181,14 @@ export default { ...@@ -181,12 +181,14 @@ export default {
data-testid="subscription-details" data-testid="subscription-details"
> >
<template v-if="shouldShowFooter" #footer> <template v-if="shouldShowFooter" #footer>
<div class="gl-display-flex gl-flex-wrap gl-align-items-flex-start">
<gl-button <gl-button
v-if="canSyncSubscription" v-if="canSyncSubscription"
category="primary" category="primary"
:loading="hasAsyncActivity" :loading="hasAsyncActivity"
variant="confirm" variant="confirm"
data-testid="subscription-sync-action" data-testid="subscription-sync-action"
class="gl-mr-3 gl-mb-3 gl-lg-mb-0"
@click="syncSubscription" @click="syncSubscription"
> >
{{ $options.i18n.syncSubscriptionButtonText }} {{ $options.i18n.syncSubscriptionButtonText }}
...@@ -196,6 +198,7 @@ export default { ...@@ -196,6 +198,7 @@ export default {
v-gl-modal="$options.modal.id" v-gl-modal="$options.modal.id"
category="primary" category="primary"
variant="confirm" variant="confirm"
class="gl-mr-3 gl-mb-3 gl-lg-mb-0"
data-testid="subscription-activate-subscription-action" data-testid="subscription-activate-subscription-action"
> >
{{ $options.i18n.activateCloudLicense }} {{ $options.i18n.activateCloudLicense }}
...@@ -206,6 +209,7 @@ export default { ...@@ -206,6 +209,7 @@ export default {
target="_blank" target="_blank"
category="secondary" category="secondary"
variant="confirm" variant="confirm"
class="gl-mr-3 gl-mb-3 gl-lg-mb-0"
data-testid="subscription-manage-action" data-testid="subscription-manage-action"
> >
{{ $options.i18n.manageSubscriptionButtonText }} {{ $options.i18n.manageSubscriptionButtonText }}
...@@ -214,6 +218,7 @@ export default { ...@@ -214,6 +218,7 @@ export default {
v-if="canRemoveLicense" v-if="canRemoveLicense"
category="secondary" category="secondary"
variant="danger" variant="danger"
class="gl-mr-3"
:href="licenseRemovePath" :href="licenseRemovePath"
:data-confirm="$options.i18n.removeLicenseConfirm" :data-confirm="$options.i18n.removeLicenseConfirm"
data-method="delete" data-method="delete"
...@@ -222,6 +227,7 @@ export default { ...@@ -222,6 +227,7 @@ export default {
> >
{{ $options.i18n.removeLicense }} {{ $options.i18n.removeLicense }}
</gl-button> </gl-button>
</div>
</template> </template>
</subscription-details-card> </subscription-details-card>
</div> </div>
......
...@@ -6,5 +6,7 @@ class Admin::SubscriptionsController < Admin::ApplicationController ...@@ -6,5 +6,7 @@ class Admin::SubscriptionsController < Admin::ApplicationController
feature_category :license feature_category :license
def show; end def show
@content_class = 'limit-container-width'
end
end end
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