2015-04-28 09:48:42 +00:00
|
|
|
.search-results
|
|
|
|
- if @search_results.empty?
|
|
|
|
= render partial: "search/results/empty", locals: { message: "We couldn't find any matching results" }
|
|
|
|
- else
|
|
|
|
= render partial: "search/results/#{@scope.singularize}", collection: @objects
|
|
|
|
= paginate @objects, theme: 'gitlab'
|
2013-11-06 07:58:43 +00:00
|
|
|
|
|
|
|
:javascript
|
2014-08-28 08:06:19 +00:00
|
|
|
$(".search-results .term").highlight("#{escape_javascript(params[:search])}");
|