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
Show 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,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>
...
...
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