debian-mirror-gitlab/app/views/search/_results_list.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
657 B
Text
Raw Normal View History

2022-11-25 23:54:43 +05:30
- if @timeout
= render partial: "search/results/timeout"
- elsif @search_objects.to_a.empty?
= render partial: "search/results/empty"
- else
- if @scope == 'commits'
%ul.content-list.commit-list
= render partial: "search/results/commit", collection: @search_objects
- else
2023-03-17 16:20:25 +05:30
.search-results.js-search-results
2022-11-25 23:54:43 +05:30
- if @scope == 'projects'
.term
= render 'shared/projects/list', projects: @search_objects, pipeline_status: false
- else
= render_if_exists partial: "search/results/#{@scope.singularize}", collection: @search_objects
- if @scope != 'projects'
= paginate_collection(@search_objects)