debian-mirror-gitlab/app/views/layouts/header/_help_dropdown.html.haml

7 lines
234 B
Text
Raw Normal View History

2018-12-13 13:39:08 +05:30
%ul
- if current_user_menu?(:help)
%li
= link_to _("Help"), help_path
- if current_user_menu?(:help) || current_user_menu?(:settings) || current_user_menu?(:profile)
= render 'shared/user_dropdown_contributing_link'