Place pagination outside .search-results

This commit is contained in:
Alfredo Sumaran 2016-03-02 15:46:37 -05:00
parent f01c54eeef
commit e677bac933

View file

@ -18,7 +18,9 @@
= render 'shared/projects/list', projects: @objects
- else
= render partial: "search/results/#{@scope.singularize}", collection: @objects
= paginate @objects, theme: 'gitlab'
- if @scope != 'projects'
= paginate @objects, theme: 'gitlab'
:javascript
$(".search-results .term").highlight("#{escape_javascript(params[:search])}");