_help_dropdown.html.haml 484 Bytes
Newer Older
1
- show_blog_link = current_user_menu?(:help) && blog_post_url.present?
2 3 4 5
%ul
  - if current_user_menu?(:help)
    %li
      = link_to _("Help"), help_path
6
    %li.divider
7
  - if show_blog_link
8
    %li
9 10 11
      = link_to _("What's new?"), blog_post_url
  %li
    = link_to _("Submit feedback"), "https://about.gitlab.com/submit-feedback"
12 13
  - if current_user_menu?(:help) || current_user_menu?(:settings) || current_user_menu?(:profile)
    = render 'shared/user_dropdown_contributing_link'