debian-mirror-gitlab/app/views/layouts/header/_help_dropdown.html.haml
2018-12-13 13:39:08 +05:30

6 lines
234 B
Text

%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'