gitlab-org--gitlab-foss/app/views/shared/_sidebar_toggle_button.html.haml

9 lines
451 B
Text
Raw Normal View History

%a.toggle-sidebar-button.js-toggle-sidebar.qa-toggle-sidebar{ role: "button", type: "button", title: "Toggle sidebar" }
= sprite_icon('angle-double-left', css_class: 'icon-angle-double-left')
= sprite_icon('angle-double-right', css_class: 'icon-angle-double-right')
2019-04-25 11:27:02 -04:00
%span.collapse-text= _("Collapse sidebar")
2017-08-07 15:41:33 -04:00
= button_tag class: 'close-nav-button', type: 'button' do
= sprite_icon('close', size: 16)
2019-04-25 11:27:02 -04:00
%span.collapse-text= _("Close sidebar")