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
53fb4d47
Commit
53fb4d47
authored
Jul 13, 2021
by
Vitaly Slobodin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add integration part
parent
aaf69b18
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
0 deletions
+29
-0
ee/app/assets/javascripts/trials/extend_reactivate_trial/index.js
...ssets/javascripts/trials/extend_reactivate_trial/index.js
+10
-0
ee/app/assets/javascripts/trials/extend_reactivate_trial/init_extend_reactivate_trial_button.js
...d_reactivate_trial/init_extend_reactivate_trial_button.js
+19
-0
No files found.
ee/app/assets/javascripts/trials/extend_reactivate_trial/index.js
0 → 100644
View file @
53fb4d47
export
const
shouldExtendReactivateTrialButtonMount
=
async
()
=>
{
const
el
=
document
.
querySelector
(
'
.js-extend-reactivate-trial-button
'
);
if
(
el
)
{
const
{
initExtendReactivateTrialButton
}
=
await
import
(
/* webpackChunkName: 'init_extend_reactivate_trial_button' */
'
./init_extend_reactivate_trial_button
'
);
initExtendReactivateTrialButton
(
el
);
}
};
ee/app/assets/javascripts/trials/extend_reactivate_trial/init_extend_reactivate_trial_button.js
0 → 100644
View file @
53fb4d47
import
Vue
from
'
vue
'
;
import
ExtendReactivateTrialButton
from
'
ee/trials/extend_reactivate_trial/components/extend_reactivate_trial_button.vue
'
;
export
const
initExtendReactivateTrialButton
=
(
el
)
=>
{
const
{
namespaceId
,
action
,
planName
}
=
el
.
dataset
;
return
new
Vue
({
el
,
render
(
createElement
)
{
return
createElement
(
ExtendReactivateTrialButton
,
{
props
:
{
namespaceId
:
Number
(
namespaceId
),
planName
,
action
,
},
});
},
});
};
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