diff --git a/app/views/layouts/_header.html.haml b/app/views/layouts/_header.html.haml index b1fe5ed5..106e06bd 100644 --- a/app/views/layouts/_header.html.haml +++ b/app/views/layouts/_header.html.haml @@ -24,6 +24,12 @@ = nav_entry "Inbox", "/inbox", badge: inbox_count = nav_entry "Discover", discover_path %ul.nav.navbar-nav.navbar-right + - unless @user.nil? + - unless @user == current_user + %li.hidden-xs{"data-toggle" => "tooltip", "data-placement" => "bottom", title: "Manage group memberships"} + %a{href: '#', data: { target: "#modal-group-memberships", toggle: :modal }} + %i.fa.fa-users.hidden-xs + %span.visible-xs Manage group memberships = render "layouts/notifications" %li.hidden-xs{"data-toggle" => "tooltip", "data-placement" => "bottom", title: "Ask a question"} .btn.btn-link.navbar-btn{name: "toggle-all-ask", "data-target" => "#modal-ask-followers", "data-toggle" => "modal", :type => "button"} diff --git a/app/views/user/_actions.html.haml b/app/views/user/_actions.html.haml index 1c70e9ab..6b28cbac 100644 --- a/app/views/user/_actions.html.haml +++ b/app/views/user/_actions.html.haml @@ -20,7 +20,7 @@ %a{href: '#', name: 'user-action', data: { action: :block, type: type, target: user.screen_name }} %i.fa.fa-minus-circle Block - %li + %li.visible-xs %a{href: '#', data: { target: "#modal-group-memberships", toggle: :modal }} %i.fa.fa-users Manage group memberships