diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2017-06-27 08:06:35 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-06-27 08:06:35 +0000 |
commit | 28c45b047d0b967690428639e4383f2682c195da (patch) | |
tree | 520d20a03153113980a72b05f56a84ea4ff4554f /app/views/shared/issuable/_sidebar_assignees.html.haml | |
parent | ad3843aee14abb36e0f4a7ede7210f26ed4879c9 (diff) | |
download | gitlab-ce-28c45b047d0b967690428639e4383f2682c195da.tar.gz |
Polish sidebar toggle
Diffstat (limited to 'app/views/shared/issuable/_sidebar_assignees.html.haml')
-rw-r--r-- | app/views/shared/issuable/_sidebar_assignees.html.haml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_sidebar_assignees.html.haml b/app/views/shared/issuable/_sidebar_assignees.html.haml index bcfa1dc826e..2ea5eb960c0 100644 --- a/app/views/shared/issuable/_sidebar_assignees.html.haml +++ b/app/views/shared/issuable/_sidebar_assignees.html.haml @@ -1,5 +1,5 @@ - if issuable.is_a?(Issue) - #js-vue-sidebar-assignees{ data: { field: "#{issuable.to_ability_name}[assignee_ids]" } } + #js-vue-sidebar-assignees{ data: { field: "#{issuable.to_ability_name}[assignee_ids]", signed_in: signed_in } } .title.hide-collapsed Assignee = icon('spinner spin') @@ -14,6 +14,9 @@ = icon('spinner spin', class: 'hidden block-loading', 'aria-hidden': 'true') - if can_edit_issuable = link_to 'Edit', '#', class: 'edit-link pull-right' + - if !signed_in + %a.gutter-toggle.pull-right.js-sidebar-toggle{ role: "button", href: "#", "aria-label" => "Toggle sidebar" } + = sidebar_gutter_toggle_icon .value.hide-collapsed - if issuable.assignee = link_to_member(@project, issuable.assignee, size: 32, extra_class: 'bold') do |