diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-11 18:04:42 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-11 18:04:42 -0500 |
commit | d88d6e7619c3f976361df638e765472b499f1986 (patch) | |
tree | 0e5f6816c626665cf0a888b840be3a3782ee62ce /app/views/layouts/header/_default.html.haml | |
parent | 7998725e3c2557c04ceece028dd73a316a3a746c (diff) | |
download | gitlab-ce-d88d6e7619c3f976361df638e765472b499f1986.tar.gz |
Hide top search form on the search pageissue_14771
Diffstat (limited to 'app/views/layouts/header/_default.html.haml')
-rw-r--r-- | app/views/layouts/header/_default.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml index 0f3b8119379..17502148dce 100644 --- a/app/views/layouts/header/_default.html.haml +++ b/app/views/layouts/header/_default.html.haml @@ -8,7 +8,7 @@ .navbar-collapse.collapse %ul.nav.navbar-nav %li.hidden-sm.hidden-xs - = render 'layouts/search' + = render 'layouts/search' unless current_controller?(:search) %li.visible-sm.visible-xs = link_to search_path, title: 'Search', data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do = icon('search') |