summaryrefslogtreecommitdiff
path: root/app/views/search/show.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-04-28 22:04:19 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-04-28 22:04:19 +0300
commit1ff01d26e1943a16f77e2ab08e89c92d72fcbf62 (patch)
tree368e0eb67d9ac6982a92b2c2fe527ddf8b9947d6 /app/views/search/show.html.haml
parentd5fe1e57d5107c5ddc57feee5c3d1f7ed03941ab (diff)
downloadgitlab-ce-1ff01d26e1943a16f77e2ab08e89c92d72fcbf62.tar.gz
Continue refactoring and restyle of search layout
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/search/show.html.haml')
-rw-r--r--app/views/search/show.html.haml20
1 files changed, 3 insertions, 17 deletions
diff --git a/app/views/search/show.html.haml b/app/views/search/show.html.haml
index fcdd63a764d..8e11154279f 100644
--- a/app/views/search/show.html.haml
+++ b/app/views/search/show.html.haml
@@ -1,18 +1,4 @@
+= render 'search/form'
+%hr
- if @search_term
- .lead
- Search for
- %code
- = @search_term
- - unless @show_snippets
- - if @project
- in project #{link_to @project.name_with_namespace, [@project.namespace.becomes(Namespace), @project]}
- - elsif @group
- in group #{link_to @group.name, @group}
-
- .pull-right
- = render 'filter'
- %hr
- .results.prepend-top-10
- = render 'search/results'
-- else
- wow
+ = render 'search/results'