summaryrefslogtreecommitdiff
path: root/app/views/projects/learn_gitlab/index.html.haml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-11-17 18:14:12 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-11-17 18:14:12 +0000
commit2c06e006d832757e90e5199112ab062b27df7433 (patch)
tree36811d1041a1a2b88b041ecac07e9d3aa41c6b1f /app/views/projects/learn_gitlab/index.html.haml
parenta331169e6e84f93fd9b841b56465ac113b6d03f9 (diff)
downloadgitlab-ce-2c06e006d832757e90e5199112ab062b27df7433.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/projects/learn_gitlab/index.html.haml')
-rw-r--r--app/views/projects/learn_gitlab/index.html.haml9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/views/projects/learn_gitlab/index.html.haml b/app/views/projects/learn_gitlab/index.html.haml
index 4935b72d3fa..9b17be99da0 100644
--- a/app/views/projects/learn_gitlab/index.html.haml
+++ b/app/views/projects/learn_gitlab/index.html.haml
@@ -1,5 +1,12 @@
- breadcrumb_title _("Learn GitLab")
- page_title _("Learn GitLab")
- add_page_specific_style 'page_bundles/learn_gitlab'
+- data = learn_gitlab_data(@project)
+- invite_members_open = session.delete(:confetti_post_signup)
-#js-learn-gitlab-app{ data: { actions: onboarding_actions_data(@project).to_json, sections: onboarding_sections_data.to_json } }
+- experiment(:confetti_post_signup, actor: current_user) do |e|
+ - e.control do
+ #js-learn-gitlab-app{ data: data }
+ - e.candidate do
+ = render 'projects/invite_members_modal', project: @project
+ #js-learn-gitlab-app{ data: data.merge(invite_members_open: invite_members_open) }