From b3af3930c6c9a635cf21192c2d5a50dc51a9f5da Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Fri, 15 Apr 2016 14:13:21 +0100 Subject: Started updating search UI --- app/views/search/_results.html.haml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'app/views/search/_results.html.haml') diff --git a/app/views/search/_results.html.haml b/app/views/search/_results.html.haml index 60df348891c..a7615f580f0 100644 --- a/app/views/search/_results.html.haml +++ b/app/views/search/_results.html.haml @@ -2,9 +2,7 @@ = render partial: "search/results/empty" - else .gray-content-block - Search results for - %code - = @search_term + = search_entries_info @objects - unless @show_snippets - if @project in project #{link_to @project.name_with_namespace, [@project.namespace.becomes(Namespace), @project]} @@ -21,6 +19,3 @@ - if @scope != 'projects' = paginate @objects, theme: 'gitlab' - -:javascript - $(".search-results .term").highlight("#{escape_javascript(params[:search])}"); -- cgit v1.2.1