summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-10-18 11:04:32 -0700
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-10-18 11:47:11 -0700
commit76e7246982484f7886f88bae89756c05f05658f9 (patch)
treec55914575829d0528b54fe4dab413ae3e2c03820 /app
parent9c71fb0de2f0a7482b1a59c673142981ecdab26f (diff)
downloadgitlab-ce-76e7246982484f7886f88bae89756c05f05658f9.tar.gz
Add members flyout on collapsed sidebar38648-members-sidebar
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/nav/sidebar/_project.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/layouts/nav/sidebar/_project.html.haml b/app/views/layouts/nav/sidebar/_project.html.haml
index 759d6ff68ea..f82207559a3 100644
--- a/app/views/layouts/nav/sidebar/_project.html.haml
+++ b/app/views/layouts/nav/sidebar/_project.html.haml
@@ -272,6 +272,11 @@
= sprite_icon('users')
%span.nav-item-name
Members
+ %ul.sidebar-sub-level-items.is-fly-out-only
+ = nav_link(path: %w[members#show], html_options: { class: "fly-out-top-item" } ) do
+ = link_to project_settings_members_path(@project) do
+ %strong.fly-out-top-item-name
+ #{ _('Members') }
= render 'shared/sidebar_toggle_button'