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

9 lines
482 B
Text
Raw Normal View History

%a.toggle-sidebar-button.js-toggle-sidebar.qa-toggle-sidebar.rspec-toggle-sidebar{ role: "button", type: "button", title: "Toggle sidebar" }
= sprite_icon('chevron-double-lg-left', css_class: 'icon-chevron-double-lg-left')
= sprite_icon('chevron-double-lg-right', css_class: 'icon-chevron-double-lg-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')
2019-04-25 11:27:02 -04:00
%span.collapse-text= _("Close sidebar")