summaryrefslogtreecommitdiff
path: root/app/views/layouts/_collapse_button.html.haml
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-06-18 09:23:31 +0200
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-06-18 09:23:31 +0200
commit56777e89562fe9c81f6e9237bff9cee6420fc093 (patch)
treea18d1dfad849311b38812db98d3f9cad520a49dc /app/views/layouts/_collapse_button.html.haml
parent9169c7e81fb906cf9f419d195d73a585b19dafbc (diff)
parent00906b5bb6cde8cb60281109060a519a54000c61 (diff)
downloadgitlab-ce-56777e89562fe9c81f6e9237bff9cee6420fc093.tar.gz
Merge branch 'master' into ci-scala-example
Diffstat (limited to 'app/views/layouts/_collapse_button.html.haml')
-rw-r--r--app/views/layouts/_collapse_button.html.haml7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/views/layouts/_collapse_button.html.haml b/app/views/layouts/_collapse_button.html.haml
index 2ed51d87ca1..8c140a5943e 100644
--- a/app/views/layouts/_collapse_button.html.haml
+++ b/app/views/layouts/_collapse_button.html.haml
@@ -1,4 +1,3 @@
-- if nav_menu_collapsed?
- = link_to icon('angle-right'), '#', class: 'toggle-nav-collapse', title: "Open/Close"
-- else
- = link_to icon('angle-left'), '#', class: 'toggle-nav-collapse', title: "Open/Close"
+= link_to '#', class: 'nav-header-btn text-center toggle-nav-collapse', title: "Open/Close" do
+ %span.sr-only Toggle navigation
+ = icon('bars')