diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-16 18:18:33 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-16 18:18:33 +0000 |
commit | f64a639bcfa1fc2bc89ca7db268f594306edfd7c (patch) | |
tree | a2c3c2ebcc3b45e596949db485d6ed18ffaacfa1 /app/helpers/learn_gitlab_helper.rb | |
parent | bfbc3e0d6583ea1a91f627528bedc3d65ba4b10f (diff) | |
download | gitlab-ce-f64a639bcfa1fc2bc89ca7db268f594306edfd7c.tar.gz |
Add latest changes from gitlab-org/gitlab@13-10-stable-eev13.10.0-rc40
Diffstat (limited to 'app/helpers/learn_gitlab_helper.rb')
-rw-r--r-- | app/helpers/learn_gitlab_helper.rb | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/app/helpers/learn_gitlab_helper.rb b/app/helpers/learn_gitlab_helper.rb index e72a9c83fc9..f50c1e52bed 100644 --- a/app/helpers/learn_gitlab_helper.rb +++ b/app/helpers/learn_gitlab_helper.rb @@ -15,7 +15,8 @@ module LearnGitlabHelper [ action, url: url, - completed: attributes[OnboardingProgress.column_name(action)].present? + completed: attributes[OnboardingProgress.column_name(action)].present?, + svg: image_path("learn_gitlab/#{action}.svg") ] end.to_h end @@ -23,13 +24,13 @@ module LearnGitlabHelper private ACTION_ISSUE_IDS = { - git_write: 2, - pipeline_created: 4, - merge_request_created: 6, - user_added: 7, - trial_started: 13, - required_mr_approvals_enabled: 15, - code_owners_enabled: 16 + git_write: 6, + pipeline_created: 7, + merge_request_created: 9, + user_added: 8, + trial_started: 2, + required_mr_approvals_enabled: 11, + code_owners_enabled: 10 }.freeze ACTION_DOC_URLS = { |