summaryrefslogtreecommitdiff
path: root/app/views/layouts/header/_help_dropdown.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/header/_help_dropdown.html.haml')
-rw-r--r--app/views/layouts/header/_help_dropdown.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/layouts/header/_help_dropdown.html.haml b/app/views/layouts/header/_help_dropdown.html.haml
new file mode 100644
index 00000000000..953c0e7f46c
--- /dev/null
+++ b/app/views/layouts/header/_help_dropdown.html.haml
@@ -0,0 +1,6 @@
+%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'