Commit 872d486a authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'ee-6983-promote-starting-a-gitlab-com-trial' into 'master'

EE: Promote the GitLab.com Gold trial on a users default dashboard

See merge request gitlab-org/gitlab-ee!8571
parents 756a5a8c 658c2647
import PersistentUserCallout from '~/persistent_user_callout'; import PersistentUserCallout from '~/persistent_user_callout';
import initGkeDropdowns from '~/projects/gke_cluster_dropdowns'; import initGkeDropdowns from '~/projects/gke_cluster_dropdowns';
function initGcpSignupCallout() { function initCallout() {
const callout = document.querySelector('.gcp-signup-offer'); const callout = document.querySelector('.gcp-signup-offer');
if (callout) new PersistentUserCallout(callout); // eslint-disable-line no-new if (callout) new PersistentUserCallout(callout); // eslint-disable-line no-new
...@@ -16,7 +16,7 @@ document.addEventListener('DOMContentLoaded', () => { ...@@ -16,7 +16,7 @@ document.addEventListener('DOMContentLoaded', () => {
]; ];
if (newClusterViews.indexOf(page) > -1) { if (newClusterViews.indexOf(page) > -1) {
initGcpSignupCallout(); initCallout();
initGkeDropdowns(); initGkeDropdowns();
} }
}); });
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