Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ffd11f2c
Commit
ffd11f2c
authored
Jan 11, 2022
by
Ammar Alakkad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Limit subscription page container to 990px
Changelog: other EE: true
parent
d3bae310
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
43 deletions
+51
-43
ee/app/assets/javascripts/admin/subscriptions/show/components/app.vue
...s/javascripts/admin/subscriptions/show/components/app.vue
+1
-1
ee/app/assets/javascripts/admin/subscriptions/show/components/subscription_breakdown.vue
.../subscriptions/show/components/subscription_breakdown.vue
+47
-41
ee/app/controllers/admin/subscriptions_controller.rb
ee/app/controllers/admin/subscriptions_controller.rb
+3
-1
No files found.
ee/app/assets/javascripts/admin/subscriptions/show/components/app.vue
View file @
ffd11f2c
...
...
@@ -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>
...
...
ee/app/assets/javascripts/admin/subscriptions/show/components/subscription_breakdown.vue
View file @
ffd11f2c
...
...
@@ -181,47 +181,53 @@ export default {
data-testid=
"subscription-details"
>
<
template
v-if=
"shouldShowFooter"
#footer
>
<gl-button
v-if=
"canSyncSubscription"
category=
"primary"
:loading=
"hasAsyncActivity"
variant=
"confirm"
data-testid=
"subscription-sync-action"
@
click=
"syncSubscription"
>
{{
$options
.
i18n
.
syncSubscriptionButtonText
}}
</gl-button>
<gl-button
v-if=
"canActivateSubscription"
v-gl-modal=
"$options.modal.id"
category=
"primary"
variant=
"confirm"
data-testid=
"subscription-activate-subscription-action"
>
{{
$options
.
i18n
.
activateCloudLicense
}}
</gl-button>
<gl-button
v-if=
"canManageSubscription"
:href=
"customersPortalUrl"
target=
"_blank"
category=
"secondary"
variant=
"confirm"
data-testid=
"subscription-manage-action"
>
{{
$options
.
i18n
.
manageSubscriptionButtonText
}}
</gl-button>
<gl-button
v-if=
"canRemoveLicense"
category=
"secondary"
variant=
"danger"
:href=
"licenseRemovePath"
:data-confirm=
"$options.i18n.removeLicenseConfirm"
data-method=
"delete"
data-testid=
"license-remove-action"
data-qa-selector=
"remove_license_link"
>
{{
$options
.
i18n
.
removeLicense
}}
</gl-button>
<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
}}
</gl-button>
<gl-button
v-if=
"canActivateSubscription"
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
}}
</gl-button>
<gl-button
v-if=
"canManageSubscription"
:href=
"customersPortalUrl"
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
}}
</gl-button>
<gl-button
v-if=
"canRemoveLicense"
category=
"secondary"
variant=
"danger"
class=
"gl-mr-3"
:href=
"licenseRemovePath"
:data-confirm=
"$options.i18n.removeLicenseConfirm"
data-method=
"delete"
data-testid=
"license-remove-action"
data-qa-selector=
"remove_license_link"
>
{{
$options
.
i18n
.
removeLicense
}}
</gl-button>
</div>
</
template
>
</subscription-details-card>
</div>
...
...
ee/app/controllers/admin/subscriptions_controller.rb
View file @
ffd11f2c
...
...
@@ -6,5 +6,7 @@ class Admin::SubscriptionsController < Admin::ApplicationController
feature_category
:license
def
show
;
end
def
show
@content_class
=
'limit-container-width'
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment