summaryrefslogtreecommitdiff
path: root/app/views/layouts/header/_help_dropdown.html.haml
blob: 2b3f5d266b0ae01399af92c4a0a921d37944756a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
%ul
  - if current_user_menu?(:help)
    = render_if_exists 'layouts/header/whats_new_dropdown_item'
    %li
      = link_to _("Help"), help_path
    %li
      = link_to _("Support"), support_url
    %li
      %button.js-shortcuts-modal-trigger{ type: "button" }
        = _("Keyboard shortcuts")
        %span.text-secondary.float-right{ "aria-hidden": true }= '?'.html_safe
    = render_if_exists "shared/learn_gitlab_menu_item"
    %li.divider
  %li
    = link_to _("Submit feedback"), "https://about.gitlab.com/submit-feedback"
  - if current_user_menu?(:help) || current_user_menu?(:settings) || current_user_menu?(:profile)
    %li
      = render 'shared/user_dropdown_contributing_link'
  = render_if_exists 'shared/user_dropdown_instance_review'
  - if Gitlab.com_but_not_canary?
    %li
      = link_to _("Switch to GitLab Next"), "https://next.gitlab.com/"