summaryrefslogtreecommitdiff
path: root/app/views/search
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-08-27 00:22:36 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-08-27 00:22:36 +0200
commitdcdf214fd15244fd41cc22cfc068c0b6ee421069 (patch)
treed18c8356f7cd0a97d02d31ec6bf6ccf0047d71ab /app/views/search
parent3d02ead9246c7112d5a32ee87da774e47927c84e (diff)
downloadgitlab-ce-dcdf214fd15244fd41cc22cfc068c0b6ee421069.tar.gz
More compact search page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/search')
-rw-r--r--app/views/search/_category.html.haml2
-rw-r--r--app/views/search/show.html.haml3
2 files changed, 2 insertions, 3 deletions
diff --git a/app/views/search/_category.html.haml b/app/views/search/_category.html.haml
index a75cd7bd809..d637abfa76b 100644
--- a/app/views/search/_category.html.haml
+++ b/app/views/search/_category.html.haml
@@ -1,4 +1,4 @@
-%ul.nav.nav-pills.search-filter
+%ul.nav.nav-tabs.search-filter
- if @project
%li{class: ("active" if @scope == 'blobs')}
= link_to search_filter_path(scope: 'blobs') do
diff --git a/app/views/search/show.html.haml b/app/views/search/show.html.haml
index 60f9e9ac9de..35b23ceb9d7 100644
--- a/app/views/search/show.html.haml
+++ b/app/views/search/show.html.haml
@@ -1,7 +1,6 @@
- page_title @search_term
= render 'search/form'
-%hr
+%br
- if @search_term
= render 'search/category'
- %hr
= render 'search/results'