diff options
author | Phil Hughes <me@iamphill.com> | 2016-04-15 16:13:21 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-04-26 11:03:04 +0300 |
commit | b3af3930c6c9a635cf21192c2d5a50dc51a9f5da (patch) | |
tree | 1964845d35362b3542a1b83a269d62e31194334f /app/views/search/_results.html.haml | |
parent | 6ff740ff9484691750f3eadf12125fd362efe61c (diff) |
Started updating search UI
Diffstat (limited to 'app/views/search/_results.html.haml')
-rw-r--r-- | app/views/search/_results.html.haml | 7 |
1 files changed, 1 insertions, 6 deletions
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])}"); |