Commit ffd11f2c authored by Ammar Alakkad's avatar Ammar Alakkad

Limit subscription page container to 990px

Changelog: other
EE: true
parent d3bae310
......@@ -128,7 +128,7 @@ export default {
v-on="$options.activationListeners"
/>
<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">
{{ $options.i18n.noActiveSubscription }}
</h3>
......
......@@ -181,12 +181,14 @@ export default {
data-testid="subscription-details"
>
<template v-if="shouldShowFooter" #footer>
<div class="gl-display-flex gl-flex-wrap gl-align-items-flex-start">
<gl-button
v-if="canSyncSubscription"
category="primary"
:loading="hasAsyncActivity"
variant="confirm"
data-testid="subscription-sync-action"
class="gl-mr-3 gl-mb-3 gl-lg-mb-0"
@click="syncSubscription"
>
{{ $options.i18n.syncSubscriptionButtonText }}
......@@ -196,6 +198,7 @@ export default {
v-gl-modal="$options.modal.id"
category="primary"
variant="confirm"
class="gl-mr-3 gl-mb-3 gl-lg-mb-0"
data-testid="subscription-activate-subscription-action"
>
{{ $options.i18n.activateCloudLicense }}
......@@ -206,6 +209,7 @@ export default {
target="_blank"
category="secondary"
variant="confirm"
class="gl-mr-3 gl-mb-3 gl-lg-mb-0"
data-testid="subscription-manage-action"
>
{{ $options.i18n.manageSubscriptionButtonText }}
......@@ -214,6 +218,7 @@ export default {
v-if="canRemoveLicense"
category="secondary"
variant="danger"
class="gl-mr-3"
:href="licenseRemovePath"
:data-confirm="$options.i18n.removeLicenseConfirm"
data-method="delete"
......@@ -222,6 +227,7 @@ export default {
>
{{ $options.i18n.removeLicense }}
</gl-button>
</div>
</template>
</subscription-details-card>
</div>
......
......@@ -6,5 +6,7 @@ class Admin::SubscriptionsController < Admin::ApplicationController
feature_category :license
def show; end
def show
@content_class = 'limit-container-width'
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